summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-09-07 18:26:42 -0400
committerrealtradam <[email protected]>2023-09-07 18:26:42 -0400
commit7b45b1faf33e2fa5685ab3a2a578d7e44f0d97cb (patch)
tree43273abca1f9b6c63b206befcd51572e0fa6ee44
downloaddwm_autostart_script-master.tar.gz
dwm_autostart_script-master.zip
-rwxr-xr-xautostart.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/autostart.sh b/autostart.sh
new file mode 100755
index 0000000..78041d0
--- /dev/null
+++ b/autostart.sh
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+while true
+do
+ xsetroot -name "$(date '+ %l:%M %p | %A %d %B | %F ')"
+ sleep 1m
+done &
+
+# set this up as an s6 service when you can
+(sleep 0.5 && /bin/pipewire) &
+(sleep 0.6 && /bin/pipewire-pulse) &
+(sleep 0.7 && pactl load-module module-switch-on-connect) &
+(sleep 0.8 && /bin/wireplumber) &
+
+# Set specific keyboard to swap left-alt with super key
+#(sleep 2 && setxkbmap -device $(xinput list | grep -o -P 'Barcode\ Reader\ \ \ \ \ .{0,28}' | tail -c 4) -option altwin:swap_lalt_lwin) &
+#(sleep 1 && setxkbmap -option caps:swapescape) &
+
+# Set Default Wallpaper(changes later in multiconfig)
+#(xwallpaper --tile /home/tradam/Pictures/Wallpapers/fabric-tile-2.png) &
+
+# If multi Monitors Are Connected, Assign Accordingly followed by Compositor
+#(~/.screenlayout/multiconfig.sh && picom) &
+
+# Volume Systray (this prestarts?)
+# (pasystray) &
+
+# Network Systray
+(nm-applet) &
+
+# Automounter Systray
+(udiskie -t) &
+
+# Battery Systray
+(cbatticon --critical-level 15 --low-level 25) &
+
+# Hotkeys
+#(xbindkeys) &
+
+# Set brightness
+#xbacklight -set 25 &
+