summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorAbhinav Prasai <72694427+uint23@users.noreply.github.com>2025-06-06 23:45:31 +0100
committerGitHub <noreply@github.com>2025-06-06 23:45:31 +0100
commit161be8b6e0fa43910c866dc3e925f2d288283dc3 (patch)
tree5f49360bd6e23e30e0987bddd9e9293142a665f9 /src/config.h
parentb0bf3e6250b767f2786f340b577df5f445f9d6aa (diff)
parent08c1543e60d82ca2bff0b3b1027c546ddff07ca3 (diff)
Merge pull request #77 from RickConsole/main
Add multi-monitor focus switching and window moving
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 7c42764..3c0f0bc 100644
--- a/src/config.h
+++ b/src/config.h
@@ -13,6 +13,11 @@ const Binding binds[] = {
{Mod4Mask, XK_j, {.fn = focus_next}, TYPE_FUNC},
{Mod4Mask, XK_k, {.fn = focus_prev}, TYPE_FUNC},
+ {Mod4Mask, XK_comma, {.fn = focus_prev_mon}, TYPE_FUNC},
+ {Mod4Mask, XK_period, {.fn = focus_next_mon}, TYPE_FUNC},
+ {Mod4Mask | ShiftMask, XK_comma, {.fn = move_prev_mon}, TYPE_FUNC},
+ {Mod4Mask | ShiftMask, XK_period, {.fn = move_next_mon}, TYPE_FUNC},
+
{Mod4Mask | ShiftMask, XK_j, {.fn = move_master_next}, TYPE_FUNC},
{Mod4Mask | ShiftMask, XK_k, {.fn = move_master_prev}, TYPE_FUNC},
@@ -53,4 +58,4 @@ const Binding binds[] = {
{Mod4Mask | ShiftMask, XK_8, {.ws = 7}, TYPE_MWKSP},
{Mod4Mask, XK_9, {.ws = 8}, TYPE_CWKSP},
{Mod4Mask | ShiftMask, XK_9, {.ws = 8}, TYPE_MWKSP},
-}; \ No newline at end of file
+};