summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/autostart/autostart.sh18
1 files changed, 11 insertions, 7 deletions
diff --git a/.config/autostart/autostart.sh b/.config/autostart/autostart.sh
index 19d7df9..d6b5488 100755
--- a/.config/autostart/autostart.sh
+++ b/.config/autostart/autostart.sh
@@ -1,9 +1,13 @@
#!/bin/sh
-run emacs --daemon &
-pipewire-pulse &
-setxkbmap -option caps:swapescape &
-xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x0 --rotate normal &
-nitrogen --restore &
-picom &
-bluetooth-autoconnect &
+start(){
+ emacs --daemon &
+ pipewire-pulse &
+ picom &
+ xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x0 --rotate normal &
+ nitrogen --restore &
+ setxkbmap -option caps:swapescape &
+ bluetooth-autoconnect &
+}
+
+start