nsbin/start-post-i3
2019-05-14 20:15:18 +02:00

16 lines
371 B
Bash
Executable file

#!/bin/sh
# Restore layouts
i3-msg 'workspace 1; append_layout ~/.i3/workspace-1.json'
i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json'
i3-msg 'workspace 10'
# Start programs afterwards and watch matching
if command -v chromium; then
chromium &
elif command -v chromium-browser; then
chromium-browser &
fi
# slack &
ssh-add </dev/null && mainemacs &