nsbin/start-post-i3

20 lines
414 B
Plaintext
Raw Normal View History

#!/bin/sh
# Restore layouts
i3-msg 'workspace 1; append_layout ~/.i3/workspace-1.json'
i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json'
2017-10-09 11:31:37 +00:00
i3-msg 'workspace 10'
# Start programs afterwards and watch matching
if command -v firefox; then
firefox &
2019-05-14 18:15:18 +00:00
if command -v chromium; then
2019-05-14 15:19:59 +00:00
chromium &
2019-05-14 18:15:18 +00:00
elif command -v chromium-browser; then
2019-05-14 15:19:59 +00:00
chromium-browser &
fi
# slack &
ssh-add </dev/null && mainemacs &