nsbin/start-post-i3

34 lines
721 B
Text
Raw Normal View History

2#!/bin/sh
# Restore layouts
2020-08-11 16:18:48 +02:00
#i3-msg 'workspace 1; append_layout ~/.i3/workspace-1.json'
2022-10-01 22:26:57 +02:00
#i3-msg 'workspace 2; append_layout ~/.i3/workspace-2.json'
#i3-msg 'workspace 10'
# Start programs afterwards and watch matching
2019-12-08 19:28:42 +01:00
if command -v firefox; then
firefox &
2020-01-19 10:49:34 +01:00
elif command -v chromium; then
2019-05-14 17:19:59 +02:00
chromium &
2019-05-14 20:15:18 +02:00
elif command -v chromium-browser; then
2019-05-14 17:19:59 +02:00
chromium-browser &
fi
2021-11-30 08:57:16 +01:00
emacs --daemon
2019-10-13 16:01:49 +02:00
if [ -f /etc/arch-release ]; then
SSH_ASKPASS=/usr/bin/qt4-ssh-askpass
elif [ -x /usr/bin/ssh-askpass-fullscreen ]; then
SSH_ASKPASS=/usr/bin/ssh-askpass-fullscreen
2019-10-13 16:01:49 +02:00
fi
ssh-add </dev/null && mainemacs &
2020-02-12 10:13:08 +01:00
# Dell XPS 13" 2-in-1
2020-02-12 13:48:18 +01:00
xinput map-to-output "WCOM48EC:00 056A:48EC Touchscreen" eDP-1
2022-01-31 10:15:10 +01:00
# Pipewire sound
pipewire &