2017-07-19 15:15:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Restore layouts
|
2017-07-26 08:25:26 +00:00
|
|
|
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'
|
2017-07-19 15:15:41 +00:00
|
|
|
|
|
|
|
# Start programs afterwards and watch matching
|
2019-12-08 18:28:42 +00:00
|
|
|
if command -v firefox; then
|
|
|
|
firefox &
|
2020-01-19 09:49:34 +00:00
|
|
|
elif 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
|
2019-06-23 16:06:33 +00:00
|
|
|
|
2019-10-13 14:01:49 +00:00
|
|
|
if [ -f /etc/arch-release ]; then
|
|
|
|
SSH_ASKPASS=/usr/bin/qt4-ssh-askpass ssh-add </dev/null && mainemacs &
|
|
|
|
else
|
|
|
|
ssh-add </dev/null && mainemacs &
|
|
|
|
fi
|
2020-02-12 09:13:08 +00:00
|
|
|
|
|
|
|
# Dell XPS 13" 2-in-1
|
2020-02-12 12:48:18 +00:00
|
|
|
xinput map-to-output "WCOM48EC:00 056A:48EC Touchscreen" eDP-1
|