Created
December 9, 2017 12:11
-
-
Save CSaratakij/dce87947da2e44106225acf33a24d299 to your computer and use it in GitHub Desktop.
Spawn Terminal Layout in i3wm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#----------------------------------------# | |
# Auto Start App on specific workspace. # | |
#----------------------------------------# | |
# Setup Bar | |
exec polybar mystatus -q & | |
# Setup Workspace 8 | |
i3-msg "workspace 8" | |
i3-msg "workspace 8; exec st -ai -e alsamixer -g" | |
sleep 0.8; | |
i3-msg "workspace 8; floating disable" | |
i3-msg "workspace 8; split h" | |
i3-msg "workspace 8; exec st -ai -e cmus" | |
sleep 0.8; | |
i3-msg "workspace 8; floating disable" | |
i3-msg "workspace 8; split v" | |
i3-msg "workspace 8; exec st -ai -e cava" | |
sleep 0.8; | |
i3-msg "workspace 8; floating disable" | |
for i in {1..5} | |
do | |
i3-msg "resize grow left 6 px" | |
i3-msg "resize shrink up 6 px" | |
done | |
i3-msg "resize grow left 6 px" | |
sleep 0.8; | |
# Setup Workspace 9 | |
i3-msg "workspace 9; exec st" | |
sleep 0.8; | |
# Setup Workspace 10 | |
i3-msg "workspace 10" | |
i3-msg "workspace 10; exec run_autoupdate.sh" | |
sleep 0.8; | |
i3-msg "workspace 10; floating disable" | |
# Back to Workspace 1 | |
i3-msg "workspace 1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment