1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-07-13 22:27:46 +02:00

wayland: unclutter not needed due to patched dwl & changed some autostart programs

This commit is contained in:
tiyn 2025-07-06 06:30:51 +02:00
parent 466f023fca
commit a92906b244
2 changed files with 12 additions and 3 deletions

7
.config/wayland/swayidle.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
exec swayidle -w \
timeout 20 'systemctl suspend-then-hibernate'
before-sleep 'swaylock'
# timeout 1500 "notify-send -u critical 'Power' 'Laptop will suspend in 5 minutes!'"\
# timeout 1740 "notify-send -u critical 'Power' 'System will suspend in 1 minute!'"\
# timeout 1800 "systemctl suspend-then-hibernate"

View File

@ -1,9 +1,11 @@
#!/bin/sh #!/bin/sh
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
nmcli radio wifi on &
~/.config/wayland/swayidle.sh &
$STATUSBAR & # use environment variable $STATUSBAR & # use environment variable
# unclutter & # hide cursor
xss-lock -- swaylock & # enable locking the screen upon sleep xss-lock -- swaylock & # enable locking the screen upon sleep
swaybg -i ~/.local/share/bg & swaybg -i ~/.local/share/bg &
dunst & dunst &
@ -18,10 +20,10 @@ keepassxc &
zen-browser & zen-browser &
discord & discord &
signal-desktop & signal-desktop &
telegram-desktop & Telegram &
threema-beta & threema-beta &
thunderbird & thunderbird &
mattermost-desktop & # mattermost-desktop &
# monitor toggle & # monitor toggle &
# touchpad off & # touchpad off &