Compare commits
No commits in common. "fe1219e2fb91e0f08058d875e8b66a3d7cc986e7" and "180a87464cc5cf87ae6a49318e9158dc05cd4800" have entirely different histories.
fe1219e2fb
...
180a87464c
3 changed files with 3 additions and 21 deletions
|
@ -1,24 +1,10 @@
|
||||||
# Exit layout script if Firefox or Discord is open,
|
|
||||||
# i3 has been reloaded
|
|
||||||
pgrep firefox || pgrep Discord && exit 0
|
|
||||||
|
|
||||||
# Switch to workspace 1
|
|
||||||
i3-msg workspace 1
|
i3-msg workspace 1
|
||||||
# Start up Firefox in the background
|
|
||||||
firefox &
|
firefox &
|
||||||
# Give Firefox some time to start up
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# Switch to workspace 2, load layout, and open blank space
|
|
||||||
i3-msg "workspace 2; append_layout @tree@; open"
|
i3-msg "workspace 2; append_layout @tree@; open"
|
||||||
# Move blank space to appropriate space,
|
|
||||||
# i3 layout files don't support blank space
|
|
||||||
for i in {1..4}; do
|
for i in {1..4}; do
|
||||||
i3-msg move left
|
i3-msg move left
|
||||||
done
|
done
|
||||||
# Start up Discord in the background
|
discord
|
||||||
discord &
|
|
||||||
# Open YouTube for music
|
|
||||||
firefox --new-window https://youtube.com
|
firefox --new-window https://youtube.com
|
||||||
# Go back to primary workspace
|
|
||||||
i3-msg workspace 1
|
i3-msg workspace 1
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"swallows": [{ "class": "^firefox$" }],
|
"swallows": [{ "class": "^firefox$" }],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"swallows": [{ "title": "Discord Updater" }],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"swallows": [{ "class": "^discord$" }],
|
"swallows": [{ "class": "^discord$" }],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
|
|
@ -5,8 +5,8 @@ ScaleWithDPI=True
|
||||||
Font=Sans 13
|
Font=Sans 13
|
||||||
NormalColor=@fg0@
|
NormalColor=@fg0@
|
||||||
HighlightCandidateColor=@fg1@;
|
HighlightCandidateColor=@fg1@;
|
||||||
HighlightColor=@fg0@
|
HighlightColor=@undefined@
|
||||||
HighlightBackgroundColor=@highlight@
|
HighlightBackgroundColor=@undefined@
|
||||||
Spacing=3
|
Spacing=3
|
||||||
|
|
||||||
[InputPanel/TextMargin]
|
[InputPanel/TextMargin]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue