From 6cbc1b85dd53119cbc9ed05def77a8304d07632f Mon Sep 17 00:00:00 2001 From: mhsn Date: Thu, 6 Nov 2025 15:03:59 +0000 Subject: update dwm colors and some keys --- x11-wm/dwm/files/52_keys.diff | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'x11-wm/dwm/files/52_keys.diff') diff --git a/x11-wm/dwm/files/52_keys.diff b/x11-wm/dwm/files/52_keys.diff index 7ed2974..8f650a2 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,37 @@ static const Layout layouts[] = { +@@ -68,16 +69,38 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ @@ -21,12 +21,13 @@ index 5c2382f..25d4265 100644 static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; +static const char *browser_cmd[] = { "librewolf", NULL }; -+static const char *files_cmd[] = { "true", NULL }; /* WIP */ ++static const char *files_cmd[] = { "st", "-e", "lf", NULL }; +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 *impala_cmd[] = { "st", "-e", "impala", NULL }; +static const char *poweroff_cmd[] = { "/home/lain/cyb/scripts/dmenu/power", NULL }; ++static const char *bookmarks_cmd[] = { "/home/lain/cyb/scripts/dmenu/bookmarks", 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 }; @@ -40,7 +41,7 @@ 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 = impala_cmd } }, ++ { MODKEY|ShiftMask, XK_w, spawn, {.v = bookmarks_cmd } }, + { MODKEY, XK_e, spawn, {.v = files_cmd } }, + { MODKEY, XK_r, spawn, {.v = mail_cmd } }, + { MODKEY, XK_q, spawn, {.v = poweroff_cmd } }, -- cgit v1.2.3