This commit is contained in:
2025-09-14 22:06:00 -07:00
parent 9fbf3bc8c1
commit 91fe229e59
8 changed files with 118 additions and 107 deletions

View File

@@ -19,10 +19,11 @@ set $laptop eDP-1
include ~/.config/sway/config.d/*
### Output configuration
# You can get the names of your outputs by running: swaymsg -t get_outputs
# https://gitlab.com/w0lff/shikane for multitple display handling
output * bg /home/jozamudi/Downloads/samurai-cyberpunk-3840x2160-12877.png fill
#output * bg /home/jozamudi/Downloads/samurai-cyberpunk-3840x2160-12877.png fill
output eDP-1 scale 1.8
#output 'BNQ BenQ PD3200U S2N01233019' scale 1.5
@@ -32,12 +33,18 @@ bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
exec_always --no-startup-id '/home/jozamudi/.config/sway/scripts/clamshell-mode.sh'
#input "1267:12792:ELAN067B:00_04F3:31F8_Touchpad" {
# dwt enabled
# tap enabled
# middle_emulation enabled
#}
### Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep 'playerctl pause; swaymsg output $laptop power on; swaylock -f -c 000000'
before-sleep 'swaylock -f -c 000000'
seat seat0 xcursor_theme Adwaita 25