aboutsummaryrefslogtreecommitdiff
path: root/linux/sway/autostart
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2024-01-23 11:13:18 +0100
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2024-01-23 11:13:18 +0100
commit72efe134f645a5212f875c153dd8db4a64cbe968 (patch)
treed23229285071bf381515657b94919852ebf426c9 /linux/sway/autostart
parente33d5f8d10d34e5a3a4bb292015961dd574f4c93 (diff)
downloaddotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.tar.gz
dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.zip
changes
Diffstat (limited to 'linux/sway/autostart')
-rw-r--r--linux/sway/autostart26
1 files changed, 26 insertions, 0 deletions
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
+