From 8de544e7182b0bc5e47902629b46558b9c573d74 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 10 Oct 2024 08:24:33 -0400 Subject: [PATCH] dwm: change wallpaper with super+w --- home/dwm.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/dwm.nix b/home/dwm.nix index 70b4d65c..37855c7e 100644 --- a/home/dwm.nix +++ b/home/dwm.nix @@ -97,6 +97,7 @@ in static const char *down_vol[] = { "${dunst-scripts}/bin/mv-down", NULL }; static const char *mute_vol[] = { "${dunst-scripts}/bin/mv-mute", NULL }; static const char *mute_mic[] = { "${dunst-scripts}/bin/mv-mic", NULL }; + static const char *wallpaper[] = { "fish", "${homeDirectory}/.config/${wallpaperScript}", NULL }; static const Key keys[] = { { 0, XF86XK_AudioMute, spawn, {.v = mute_vol } }, @@ -113,6 +114,7 @@ in { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_m, tagmon, {.i = +1 } }, + { MODKEY, XK_w, spawn, {.v = wallpaper } }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } },