24 lines
603 B
Bash
Executable file
24 lines
603 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 firefox; then
|
|
firefox &
|
|
elif command -v chromium; then
|
|
chromium &
|
|
elif command -v chromium-browser; then
|
|
chromium-browser &
|
|
fi
|
|
|
|
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
|
|
|
|
# Dell XPS 13" 2-in-1
|
|
xinput list-props "WCOM48EC:00 056A:48EC Touchscreen"
|