aboutsummaryrefslogtreecommitdiff
path: root/initialLayout.sh
blob: 240891123bc631cfb34d77fa789ef972ac1bacf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

if pgrep -x i3 && xrandr | grep 'HDMI.* connected'; then
	i3-msg focus left
	i3-msg workspace 3:👾
	i3-msg focus right
fi

urxvt -e tmux new -s main &
sleep 1

if pgrep -x i3 && xrandr | grep 'HDMI.* connected'; then
	i3-msg move workspace number 1:💻
	i3-msg workspace number 1:💻
fi