summaryrefslogtreecommitdiff
path: root/.config/autostart/autostart.sh
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-08-15 22:31:51 +0300
committerThanosApollo <[email protected]>2022-08-15 22:31:51 +0300
commitf4bd0c0f39fdf4f4e80d0f2cd743fd9b6c939cbc (patch)
tree6b4574f5f4dfa7d5c2521c59085ea7e298543be4 /.config/autostart/autostart.sh
parent8e2dbf8eecc3318fe7bfd12731cf9fb48ac5f65b (diff)
Update scripts
Diffstat (limited to '.config/autostart/autostart.sh')
-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