diff options
author | mhsn <mail@mhsn.net> | 2025-09-24 16:44:12 +0100 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2025-09-24 16:45:01 +0100 |
commit | 4cd5e958b4177f069d098b8785e7ab677037b534 (patch) | |
tree | 9fd8a25a0c1cf943ea6275876bd51a39419beca8 | |
parent | 16608db91ff274b13d248ff43b3ca5cdba648f28 (diff) | |
download | adelie-4cd5e958b4177f069d098b8785e7ab677037b534.tar.gz adelie-4cd5e958b4177f069d098b8785e7ab677037b534.zip |
-rw-r--r-- | x11-wm/dwm/files/52_keys.diff | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-wm/dwm/files/52_keys.diff b/x11-wm/dwm/files/52_keys.diff index 9e53a74..7ed2974 100644 --- a/x11-wm/dwm/files/52_keys.diff +++ b/x11-wm/dwm/files/52_keys.diff @@ -8,7 +8,7 @@ index 5c2382f..25d4265 100644 /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ -@@ -68,16 +69,35 @@ static const Layout layouts[] = { +@@ -68,16 +69,37 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ @@ -25,7 +25,8 @@ index 5c2382f..25d4265 100644 +static const char *mail_cmd[] = { "st", "-e", "neomutt", NULL }; +static const char *music_cmd[] = { "st", "-e", "rmpc", NULL }; +static const char *mixer_cmd[] = { "st", "-e", "pulsemixer", NULL }; -+static const char *wlan_scan_cmd[] = { "iwctl", "wlp170s0", "scan", NULL }; ++static const char *impala_cmd[] = { "st", "-e", "impala", NULL }; ++static const char *poweroff_cmd[] = { "/home/lain/cyb/scripts/dmenu/power", NULL }; + +static const char *vol_up[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%+", NULL }; +static const char *vol_down[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%-", NULL }; @@ -39,9 +40,10 @@ index 5c2382f..25d4265 100644 + { MODKEY|ShiftMask, XK_a, spawn, {.v = mixer_cmd } }, + { MODKEY, XK_s, spawn, {.v = termcmd } }, + { MODKEY, XK_w, spawn, {.v = browser_cmd } }, -+ { MODKEY|ShiftMask, XK_w, spawn, {.v = wlan_scan_cmd } }, ++ { MODKEY|ShiftMask, XK_w, spawn, {.v = impala_cmd } }, + { MODKEY, XK_e, spawn, {.v = files_cmd } }, + { MODKEY, XK_r, spawn, {.v = mail_cmd } }, ++ { MODKEY, XK_q, spawn, {.v = poweroff_cmd } }, + { 0, XF86XK_AudioRaiseVolume, spawn, {.v = vol_up } }, + { 0, XF86XK_AudioLowerVolume, spawn, {.v = vol_down } }, + { 0, XF86XK_AudioMute, spawn, {.v = vol_mute } }, |