mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
Hyprland config + touchscreen mode for my new laptop
This commit is contained in:
12
bin/touch-mode
Executable file
12
bin/touch-mode
Executable 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
|
||||
Reference in New Issue
Block a user