fixes swayidle and adds monitorconfig
This commit is contained in:
parent
d550774832
commit
54fb1d3ea5
1 changed files with 14 additions and 6 deletions
20
config
20
config
|
@ -88,10 +88,10 @@ output * bg /home/"$USER"/pictures/wallpaper/underwater.png fill
|
||||||
|
|
||||||
exec swayidle -w \
|
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 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 880 'notify-send -t 20000 "Suspending soon"' \
|
||||||
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
timeout 1000 'elogind suspend' \
|
timeout 1000 'loginctl suspend' \
|
||||||
before-sleep 'swaylock'
|
before-sleep 'swaylock'
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
|
|
||||||
|
@ -123,6 +123,14 @@ input "type:touchpad" {
|
||||||
click_method clickfinger
|
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
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
|
@ -299,8 +307,8 @@ bindgesture swipe:4:right workspace next_on_output
|
||||||
bindgesture swipe:3:left workspace prev
|
bindgesture swipe:3:left workspace prev
|
||||||
bindgesture swipe:3:right workspace next
|
bindgesture swipe:3:right workspace next
|
||||||
|
|
||||||
bindgesture pinch:outward fullscreen enable
|
bindgesture pinch:3:outward fullscreen enable
|
||||||
bindgesture pinch:inward fullscreen disable
|
bindgesture pinch:3:inward fullscreen disable
|
||||||
|
|
||||||
bindgesture pinch:4:outward floating disable
|
bindgesture pinch:4:outward floating disable
|
||||||
bindgesture pinch:4:inward floating enable
|
bindgesture pinch:4:inward floating enable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue