Merge remote-tracking branch 'upstream/master'
This commit is contained in:
98
README.org
98
README.org
@@ -133,6 +133,10 @@
|
||||
- [[#self-restart][Self Restart]]
|
||||
- [[#send-monitor-keep-focus][Send Monitor Keep Focus]]
|
||||
- [[#set-border-pixels][Set Border Pixels]]
|
||||
- [[#shift-both][Shift Both]]
|
||||
- [[#shift-swap-tags][Shift Swap Tags]]
|
||||
- [[#shift-tag][Shift Tag]]
|
||||
- [[#shift-tag-clients][Shift Tag Clients]]
|
||||
- [[#shift-view][Shift View]]
|
||||
- [[#size-hints][Size Hints]]
|
||||
- [[#sort-screens][Sort Screens]]
|
||||
@@ -291,6 +295,8 @@ Browsing patches? There is a [[https://coggle.it/diagram/X9IiSSM6PTWOM9Wz][map o
|
||||
|
||||
** Changelog
|
||||
|
||||
2022-07-04 - Added the shift-tools patch(es) with individual toggles
|
||||
|
||||
2022-06-20 - Added the renamed scratchpads patch
|
||||
|
||||
2022-06-17 - Ported the seamless restart feature from dusk into dwm-flexipatch
|
||||
@@ -892,6 +898,9 @@ Browsing patches? There is a [[https://coggle.it/diagram/X9IiSSM6PTWOM9Wz][map o
|
||||
- [[https://dwm.suckless.org/patches/setborderpx/][setborderpx]]
|
||||
- this patch allows border pixels to be changed during runtime
|
||||
|
||||
- [[https://dwm.suckless.org/patches/shift-tools/][shift-tools]]
|
||||
- a group of functions that shift clients or views left or right
|
||||
|
||||
- [[https://github.com/chau-bao-long/dotfiles/blob/master/suckless/dwm/shiftview.diff][shiftview]]
|
||||
- adds keybindings for left and right circular shift through tags
|
||||
- also see focusadjacenttag
|
||||
@@ -2679,6 +2688,47 @@ https://dwm.suckless.org/patches/setborderpx/
|
||||
#define SETBORDERPX_PATCH 0
|
||||
#+END_SRC
|
||||
|
||||
|
||||
*** Shift Both
|
||||
|
||||
Combines shifttag and shiftview. Basically moves the window to the next/prev tag and follows it. Also see the focusadjacenttag patch.
|
||||
|
||||
https://dwm.suckless.org/patches/shift-tools/
|
||||
|
||||
#+BEGIN_SRC c :tangle patches.def.h
|
||||
#define SHIFTBOTH_PATCH 0
|
||||
#+END_SRC
|
||||
|
||||
*** Shift Swap Tags
|
||||
|
||||
Swaps all the clients on the current tag with all the client on the next/prev tag. Depends on the swaptags patch.
|
||||
|
||||
https://dwm.suckless.org/patches/shift-tools/
|
||||
|
||||
#+BEGIN_SRC c :tangle patches.def.h
|
||||
#define SHIFTSWAPTAGS_PATCH 0
|
||||
#+END_SRC
|
||||
|
||||
*** Shift Tag
|
||||
|
||||
Moves the current selected client to the adjacent tag. Also see the focusadjacenttag patch.
|
||||
|
||||
https://dwm.suckless.org/patches/shift-tools/
|
||||
|
||||
#+BEGIN_SRC c :tangle patches.def.h
|
||||
#define SHIFTTAG_PATCH 0
|
||||
#+END_SRC
|
||||
|
||||
*** Shift Tag Clients
|
||||
|
||||
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/
|
||||
|
||||
#+BEGIN_SRC c :tangle patches.def.h
|
||||
#define SHIFTTAGCLIENTS_PATCH 0
|
||||
#+END_SRC
|
||||
|
||||
*** Shift View
|
||||
|
||||
**** Main
|
||||
@@ -4710,6 +4760,16 @@ static Key keys[] = {
|
||||
|
||||
{ MODKEY, XK_Tab, view, {0} },
|
||||
|
||||
#if SHIFTTAG_PATCH
|
||||
{ MODKEY|ShiftMask, XK_Left, shifttag, { .i = -1 } }, // note keybinding conflict with focusadjacenttag tagtoleft
|
||||
{ MODKEY|ShiftMask, XK_Right, shifttag, { .i = +1 } }, // note keybinding conflict with focusadjacenttag tagtoright
|
||||
#endif // SHIFTTAG_PATCH
|
||||
|
||||
#if SHIFTTAGCLIENTS_PATCH
|
||||
{ MODKEY|ShiftMask|ControlMask, XK_Left, shifttagclients, { .i = -1 } },
|
||||
{ MODKEY|ShiftMask|ControlMask, XK_Right, shifttagclients, { .i = +1 } },
|
||||
#endif // SHIFTTAGCLIENTS_PATCH
|
||||
|
||||
#if SHIFTVIEW_PATCH
|
||||
{ MODKEY|ShiftMask, XK_Tab, shiftview, { .i = -1 } },
|
||||
{ MODKEY|ShiftMask, XK_backslash, shiftview, { .i = +1 } },
|
||||
@@ -4720,6 +4780,16 @@ static Key keys[] = {
|
||||
{ MODKEY|Mod1Mask, XK_backslash, shiftviewclients, { .i = +1 } },
|
||||
#endif // SHIFTVIEW_CLIENTS_PATCH
|
||||
|
||||
#if SHIFTBOTH_PATCH
|
||||
{ MODKEY|ControlMask, XK_Left, shiftboth, { .i = -1 } }, // note keybinding conflict with focusadjacenttag tagandviewtoleft
|
||||
{ MODKEY|ControlMask, XK_Right, shiftboth, { .i = +1 } }, // note keybinding conflict with focusadjacenttag tagandviewtoright
|
||||
#endif // SHIFTBOTH_PATCH
|
||||
|
||||
#if SHIFTSWAPTAGS_PATCH && SWAPTAGS_PATCH
|
||||
{ MODKEY|Mod4Mask|ShiftMask, XK_Left, shiftswaptags, { .i = -1 } },
|
||||
{ MODKEY|Mod4Mask|ShiftMask, XK_Right, shiftswaptags, { .i = +1 } },
|
||||
#endif // SHIFTSWAPTAGS_PATCH
|
||||
|
||||
#if BAR_WINTITLEACTIONS_PATCH
|
||||
{ MODKEY|ControlMask, XK_z, showhideclient, {0} },
|
||||
#endif // BAR_WINTITLEACTIONS_PATCH
|
||||
@@ -4848,8 +4918,8 @@ static Key keys[] = {
|
||||
#if FOCUSADJACENTTAG_PATCH
|
||||
{ MODKEY, XK_Left, viewtoleft, {0} }, // note keybinding conflict with focusdir
|
||||
{ MODKEY, XK_Right, viewtoright, {0} }, // note keybinding conflict with focusdir
|
||||
{ MODKEY|ShiftMask, XK_Left, tagtoleft, {0} },
|
||||
{ MODKEY|ShiftMask, XK_Right, tagtoright, {0} },
|
||||
{ MODKEY|ShiftMask, XK_Left, tagtoleft, {0} }, // note keybinding conflict with shifttag
|
||||
{ MODKEY|ShiftMask, XK_Right, tagtoright, {0} }, // note keybinding conflict with shifttag
|
||||
{ MODKEY|ControlMask, XK_Left, tagandviewtoleft, {0} },
|
||||
{ MODKEY|ControlMask, XK_Right, tagandviewtoright, {0} },
|
||||
#endif // FOCUSADJACENTTAG_PATCH
|
||||
@@ -5200,12 +5270,24 @@ static Signal signals[] = {
|
||||
{ "viewall", viewallex },
|
||||
{ "viewex", viewex },
|
||||
{ "toggleview", toggleview },
|
||||
#if SHIFTBOTH_PATCH
|
||||
{ "shiftboth", shiftboth },
|
||||
#endif // SHIFTBOTH_PATCH
|
||||
#if SHIFTTAG_PATCH
|
||||
{ "shifttag", shifttag },
|
||||
#endif // SHIFTTAG_PATCH
|
||||
#if SHIFTTAGCLIENTS_PATCH
|
||||
{ "shifttagclients", shifttagclients },
|
||||
#endif // SHIFTTAGCLIENTS_PATCH
|
||||
#if SHIFTVIEW_PATCH
|
||||
{ "shiftview", shiftview },
|
||||
#endif // SHIFTVIEW_PATCH
|
||||
#if SHIFTVIEW_CLIENTS_PATCH
|
||||
{ "shiftviewclients", shiftviewclients },
|
||||
#endif // SHIFTVIEW_CLIENTS_PATCH
|
||||
#if SHIFTSWAPTAGS_PATCH && SWAPTAGS_PATCH
|
||||
{ "shiftswaptags", shiftswaptags },
|
||||
#endif // SHIFTSWAPTAGS_PATCH
|
||||
#if SELFRESTART_PATCH
|
||||
{ "self_restart", self_restart },
|
||||
#endif // SELFRESTART_PATCH
|
||||
@@ -5390,12 +5472,24 @@ static IPCCommand ipccommands[] = {
|
||||
#if SETBORDERPX_PATCH
|
||||
IPCCOMMAND( setborderpx, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SETBORDERPX_PATCH
|
||||
#if SHIFTBOTH_PATCH
|
||||
IPCCOMMAND( shiftboth, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTBOTH_PATCH
|
||||
#if SHIFTTAG_PATCH
|
||||
IPCCOMMAND( shifttag, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTTAG_PATCH
|
||||
#if SHIFTTAGCLIENTS_PATCH
|
||||
IPCCOMMAND( shifttagclients, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTVIEWCLIENTS_PATCH
|
||||
#if SHIFTVIEW_PATCH
|
||||
IPCCOMMAND( shiftview, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTVIEW_PATCH
|
||||
#if SHIFTVIEW_CLIENTS_PATCH
|
||||
IPCCOMMAND( shiftviewclients, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTVIEW_CLIENTS_PATCH
|
||||
#if SHIFTSWAPTAGS_PATCH && SWAPTAGS_PATCH
|
||||
IPCCOMMAND( shiftswaptags, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // SHIFTSWAPTAGS_PATCH
|
||||
#if STACKER_PATCH
|
||||
IPCCOMMAND( pushstack, 1, {ARG_TYPE_SINT} ),
|
||||
#endif // STACKER_PATCH
|
||||
|
Reference in New Issue
Block a user