diff options
Diffstat (limited to '.config/herbstluftwm/autostart')
-rwxr-xr-x | .config/herbstluftwm/autostart | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 266b679..ffc9e10 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -200,6 +200,24 @@ hc rule class~'(VBoxSDL|SleepIsDeathApp|freeciv-sdl|FTL|pinentry)' pseudotile=on hc rule class~'(Tegaki-recognize|PlayOnLinux|PCSX2|Tilem2|Wine|explorer.exe)' pseudotile=on focus=on hc rule class~'(mednafen)' pseudotile=on focus=on + +################# +# TABLET MODE # +################# + +if [[ $tablet_mode ]]; then + hc rule class~'(onboard|Onboard)' manage=off + hc keybind XF86AudioLowerVolume spawn onboard -m + + hc keybind Mod4-equal spawn xbacklight +10 + hc keybind Mod4-minus spawn xbacklight -10 + hc keybind XF86AudioRaiseVolume spawn ~/.config/herbstluftwm/backlight.sh + + hc keybind Mod4-bracketright spawn ~/.config/herbstluftwm/pvol.sh up + hc keybind Mod4-bracketleft spawn ~/.config/herbstluftwm/pvol.sh down +fi + + # unlock, just to be sure hc unlock |