From 72efe134f645a5212f875c153dd8db4a64cbe968 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Tue, 23 Jan 2024 11:13:18 +0100 Subject: changes --- linux/sway/autostart | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 linux/sway/autostart (limited to 'linux/sway/autostart') diff --git a/linux/sway/autostart b/linux/sway/autostart new file mode 100644 index 0000000..2d5eae7 --- /dev/null +++ b/linux/sway/autostart @@ -0,0 +1,26 @@ +# Fix GTK+ application slow start +exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK + +# screen locking +exec swayidle timeout 1200 physlock \ + timeout 1800 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' + +# notification centre +exec swaync + +# system tray applets +exec blueman-applet +exec udiskie +exec nm-applet --indicator + +# Wayland Overlay Bar, volume/brigtness bar +set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock +exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob + +# use clipman for clipboard management +exec wl-paste -t text --watch clipman store --no-persist + +# Nice color hues in the evenings +exec wlsunset -l 59.9614 -L 10.925 -t 4500 -T 6500 -g 1.0 + -- cgit v1.2.3