From 952e2adb3f33c18729c65f4971305d24bc48de57 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 26 Dec 2023 19:16:58 -0300 Subject: [PATCH] Fix bugs --- config.def.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index 2d98676..a32d53d 100644 --- a/config.def.h +++ b/config.def.h @@ -236,9 +236,10 @@ static Key keys[] = { { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") }, { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") }, - { 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/playerctl play-pause") }, - { 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/playerctl next") }, - { 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/playerctl previous") }, + { 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/player play-pause") }, + { 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/player next") }, + { 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/player previous") }, + { 0, XF86XK_AudioStop, spawn, SHCMD("$HOME/.local/bin/player --all-players stop") }, #ifdef LAPTOP { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, @@ -252,6 +253,10 @@ static Key keys[] = { #endif { MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") }, { MODKEY, XK_v, spawn, SHCMD("clipmenu") }, + //{ MODKEY|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copyNoNewline") }, + { MODKEY|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copy") }, + { MODKEY|ShiftMask|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copyRaw") }, + { MODKEY, XK_w, spawn, SHCMD("$HOME/.local/bin/paste") }, }; /* button definitions */