diff --git a/config.def.h b/config.def.h index 1c3b1a4..0f9bcb5 100644 --- a/config.def.h +++ b/config.def.h @@ -231,15 +231,6 @@ static Key keys[] = { TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY, XK_q, spawn, SHCMD("kill -15 $(ps -u $USER -o pid,%mem,%cpu,command | sort -b -k2 -r | sed -n '1!p' | cut -b 1-75 | dmenu -l 15)") }, - - // https://gist.github.com/palopezv/efd34059af6126ad970940bcc6a90f2e - // In my case, these XF86XK keys are FN+F2, FN+F4, FN+F3 respectively... - /* - { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, - { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, - { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, - */ - { 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") }, @@ -252,16 +243,8 @@ static Key keys[] = { { 0, XF86XK_KbdBrightnessDown, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set 20%-") }, { 0, XF86XK_KbdBrightnessUp, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set +20%") }, #endif - //{ 0, XF86XK_Mail, spawn, SHCMD("noisetorch") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") }, - //{ 0, XF86XK_Favorites, spawn, SHCMD("maim -s | xclip -selection clipboard -t image/png") }, - //{ 0, XK_Print, spawn, SHCMD("maim -s | xclip -selection clipboard -t image/png") }, - //{ MODKEY, XK_Print, spawn, SHCMD("maim | xclip -selection clipboard -t image/png") }, - //{ 0, XK_Print, spawn, SHCMD("( flameshot & ) && ( sleep 0.5s && flameshot gui )") }, - //{ 0, XK_Print, spawn, SHCMD("flameshot gui") }, { 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") }, - - { MODKEY, XK_v, spawn, SHCMD("clipmenu") }, };