aboutsummaryrefslogtreecommitdiff
path: root/initialLayout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'initialLayout.sh')
-rwxr-xr-xinitialLayout.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/initialLayout.sh b/initialLayout.sh
new file mode 100755
index 0000000..2408911
--- /dev/null
+++ b/initialLayout.sh
@@ -0,0 +1,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