This commit is contained in:
2025-11-21 08:19:00 -08:00
parent 3e3c580aa6
commit d524ebac95
10 changed files with 111 additions and 99 deletions

View File

@@ -17,17 +17,13 @@ set $up k
set $right l
set $laptop eDP-1
include ~/.config/sway/config.d/*
exec systemctl --user start sway-audio-idle-inhibit
exec systemctl --user start shikane
### 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/Documents/Wallpapers/windows-11-stock-official-colorful-3840x2160-5658.jpg fill
#output * bg /home/jozamudi/Documents/Wallpapers/windows-11-stock-official-colorful-3840x2160-5658.jpg fill
output eDP-1 scale 1.7
#output 'BNQ BenQ PD3200U S2N01233019' scale 1.5
#exec_always shikanectl reload
@@ -43,11 +39,11 @@ exec_always --no-startup-id '/home/jozamudi/.config/sway/scripts/clamshell-mode.
#}
### Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
#exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' \
# resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
seat seat0 xcursor_theme Adwaita 25
@@ -63,8 +59,8 @@ exec dex -a
#better audio
#exec easyeffects -w -l Laptop
default_border pixel 2
default_floating_border pixel 2
#default_border pixel 2
#default_floating_border pixel 2
exec systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway