From c96a8addad949e4bcc9a3a67e8cd61b66b570ab5 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Sat, 30 Sep 2023 20:46:28 +0800 Subject: [PATCH] Integrated shifttags and shiftview --- config/wal/templates/colors.Xresources | 3 +++ dwm-flexipatch/config.def.h | 1 + dwm-flexipatch/patches.def.h | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/wal/templates/colors.Xresources b/config/wal/templates/colors.Xresources index 2d7aeed..c64f964 100644 --- a/config/wal/templates/colors.Xresources +++ b/config/wal/templates/colors.Xresources @@ -4,6 +4,9 @@ *background: {background} *.foreground: {foreground} *.background: {background} +Xmessage*font: -misc-hack-medium-r-normal-*-17-120-100-100-*-0-iso10646-1 +Xmessage*foreground: {foreground} +Xmessage*background: {background} emacs*foreground: {foreground} emacs*background: {background} URxvt*foreground: {foreground} diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index cc9e3f9..436de2c 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -499,6 +499,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "DESKTOP", .unmanaged = 2) RULE(.wintype = WTYPE "DOCK", .unmanaged = 1) RULE(.wintype = WTYPE "DIALOG", .isfloating = 1) + RULE(.class = "Xmessage", .isfloating = 1) RULE(.wintype = WTYPE "UTILITY", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) diff --git a/dwm-flexipatch/patches.def.h b/dwm-flexipatch/patches.def.h index dca9ecb..e391b1b 100644 --- a/dwm-flexipatch/patches.def.h +++ b/dwm-flexipatch/patches.def.h @@ -1048,18 +1048,18 @@ * Also see the focusadjacenttag patch. * https://dwm.suckless.org/patches/shift-tools/ */ -#define SHIFTTAG_PATCH 0 +#define SHIFTTAG_PATCH 1 /* Moves the current selected client to the adjacent tag that has at least one client, if none * then it acts as shifttag. * https://dwm.suckless.org/patches/shift-tools/ */ -#define SHIFTTAGCLIENTS_PATCH 0 +#define SHIFTTAGCLIENTS_PATCH 1 /* This patch adds keybindings for left and right circular shift through tags. * https://github.com/chau-bao-long/dotfiles/blob/master/suckless/dwm/shiftview.diff */ -#define SHIFTVIEW_PATCH 0 +#define SHIFTVIEW_PATCH 1 /* This variant of the shiftview patch adds left and right circular shift through tags, * but skips tags where there are no clients.