fixes swayidle and adds monitorconfig

This commit is contained in:
xesc 2024-01-12 13:59:40 +01:00
parent d550774832
commit 54fb1d3ea5

20
config
View file

@ -88,10 +88,10 @@ output * bg /home/"$USER"/pictures/wallpaper/underwater.png fill
exec swayidle -w \
timeout 600 'sh /home/"$USER"/.local/bin/scripts/idle/brightness.sh timeout' resume 'sh /home/"$USER"/.local/bin/scripts/idle/brightness.sh resume' \
timeout 900 'notify-send -t 20000 "Locking soon"' \
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 1000 'elogind suspend' \
before-sleep 'swaylock'
timeout 880 'notify-send -t 20000 "Suspending soon"' \
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 1000 'loginctl suspend' \
before-sleep 'swaylock'
### Input configuration
@ -123,6 +123,14 @@ input "type:touchpad" {
click_method clickfinger
}
input "11551:21068:Wacom_Co.,Ltd._Pen_and_multitouch_sensor" {
map_to_output 'Lenovo Group Limited M14t V30AG13W'
}
input "11551:21068:Wacom_Co.,Ltd._Pen_and_multitouch_sensor_Stylus" {
map_to_output 'Lenovo Group Limited M14t V30AG13W'
}
### Key bindings
#
# Basics:
@ -299,8 +307,8 @@ bindgesture swipe:4:right workspace next_on_output
bindgesture swipe:3:left workspace prev
bindgesture swipe:3:right workspace next
bindgesture pinch:outward fullscreen enable
bindgesture pinch:inward fullscreen disable
bindgesture pinch:3:outward fullscreen enable
bindgesture pinch:3:inward fullscreen disable
bindgesture pinch:4:outward floating disable
bindgesture pinch:4:inward floating enable