Add keybindings for desktop only (with #else directive)
This commit is contained in:
parent
19c2871d21
commit
f42963bb22
|
@ -234,17 +234,18 @@ static Key keys[] = {
|
||||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") },
|
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") },
|
||||||
{ 0, XF86XK_AudioRaiseVolume, 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_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") },
|
||||||
{ 0, XF86XK_HomePage, spawn, SHCMD("pcmanfm") },
|
|
||||||
{ 0, XF86XK_Tools, spawn, SHCMD("pkill imwheel && imwheel -b 45") },
|
|
||||||
{ 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") },
|
|
||||||
#ifdef LAPTOP
|
#ifdef LAPTOP
|
||||||
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
|
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
|
||||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
||||||
{ 0, XF86XK_KbdBrightnessDown, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set 20%-") },
|
{ 0, XF86XK_KbdBrightnessDown, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set 20%-") },
|
||||||
{ 0, XF86XK_KbdBrightnessUp, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set +20%") },
|
{ 0, XF86XK_KbdBrightnessUp, spawn, SHCMD("brightnessctl --device='smc::kbd_backlight' set +20%") },
|
||||||
|
#else
|
||||||
|
{ 0, XF86XK_HomePage, spawn, SHCMD("pcmanfm") },
|
||||||
|
{ 0, XF86XK_Tools, spawn, SHCMD("pkill imwheel && imwheel -b 45") },
|
||||||
|
{ 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") },
|
||||||
|
{ 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") },
|
||||||
#endif
|
#endif
|
||||||
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") },
|
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") },
|
||||||
{ 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") },
|
|
||||||
{ MODKEY, XK_v, spawn, SHCMD("clipmenu") },
|
{ MODKEY, XK_v, spawn, SHCMD("clipmenu") },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue