Integrated shifttags and shiftview

This commit is contained in:
Alexis Jhon Gaspar 2023-09-30 20:46:28 +08:00
parent cba1b1e5aa
commit c96a8addad
3 changed files with 7 additions and 3 deletions

View file

@ -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}

View file

@ -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)

View file

@ -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.