summaryrefslogtreecommitdiff
path: root/.config/guix/modules/dwm/config.def.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-10-12 10:43:17 -0400
committerbd <bdunahu@operationnull.com>2024-10-12 10:43:17 -0400
commitb3841f387e41af19bf72ad60ac691de1a8227cc1 (patch)
tree7c5181d96b3d2991a3c12d3f05525869a3a9b08d /.config/guix/modules/dwm/config.def.h
parent4e4c968d46fe75e59d2603395d2b91d200eecc05 (diff)
mpd->mpv, anki, texlive-dvipng
Diffstat (limited to '.config/guix/modules/dwm/config.def.h')
-rw-r--r--.config/guix/modules/dwm/config.def.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h
index f1f8b46..a254b18 100644
--- a/.config/guix/modules/dwm/config.def.h
+++ b/.config/guix/modules/dwm/config.def.h
@@ -79,9 +79,9 @@ static const char *upperbgt[] = { "brightnessctl", "set", "5%+", NULL };
static const char *togmute[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
static const char *lowervol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-4%", NULL};
static const char *uppervol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+4%", NULL};
-static const char *mpcprev[] = { "mpc", "prev", NULL };
-static const char *togmpc[] = { "mpc", "toggle", NULL };
-static const char *mpcnext[] = { "mpc", "next", NULL };
+static const char *emmsprev[] = { "emacsclient", "-e", "(emms-previous)", NULL };
+static const char *emmstog[] = { "emacsclient", "-e", "(emms-pause)", NULL };
+static const char *emmsnext[] = { "emacsclient", "-e", "(emms-next)", NULL };
/* screenshot control */
static const char *flameselect[] = { "flameshot", "launcher", NULL };
static const char *flameall[] = { "flameshot", "full", NULL };
@@ -105,9 +105,9 @@ static const Key keys[] = {
{ 0, XK_F6, spawn, {.v = togmute } },
{ 0, XK_F7, spawn, {.v = lowervol } },
{ 0, XK_F8, spawn, {.v = uppervol } },
- { 0, XK_F9, spawn, {.v = mpcprev } },
- { 0, XK_F10, spawn, {.v = togmpc } },
- { 0, XK_F11, spawn, {.v = mpcnext } },
+ { 0, XK_F9, spawn, {.v = emmsprev } },
+ { 0, XK_F10, spawn, {.v = emmstog } },
+ { 0, XK_F11, spawn, {.v = emmsnext } },
{ 0, XK_Print, spawn, {.v = flameselect } },
{ 0|ShiftMask, XK_Print, spawn, {.v = flameall } },
{ MODKEY, XK_l, togglebar, {0} },