Hyprland config + touchscreen mode for my new laptop

This commit is contained in:
2023-11-24 11:37:12 +01:00
parent d235d500f7
commit 28a9c36323
6 changed files with 547 additions and 5 deletions

12
bin/touch-mode Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/zsh
if [ -e /tmp/.touchmode.lock ]; then
# disable touchmode
hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
pkill nwg-dock-hyprl
rm /tmp/.touchmode.lock
else
# enable touchmode
hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
nwg-dock-hyprland & disown;
touch /tmp/.touchmode.lock
fi