diff options
author | shmibs <shmibs@shmibbles.me> | 2018-10-19 04:54:51 -0700 |
---|---|---|
committer | shmibs <shmibs@shmibbles.me> | 2018-10-19 04:54:51 -0700 |
commit | ad04ec6996ecd91ac2378069c99e73f54ac18cf3 (patch) | |
tree | ea16b3d6581f4b45619b303e60f8d187fd647ce7 /.config/herbstluftwm/autostart | |
parent | c68e0d757ec0ee5baf9bf94ddd9634edf998d24f (diff) | |
download | dotfiles-ad04ec6996ecd91ac2378069c99e73f54ac18cf3.tar.gz |
merge tablet configs
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 |