aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/autostart##template
blob: 0e0cff4a94a1a6a3d22ed3bd350d1604b95fd046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
. "$HOME/.profile"
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
cat "$XDG_CONFIG_HOME/X11/$(cat "$XDG_DATA_HOME/mode/active")" | xrdb -override &
polybar &
rwall &
picom -b
xbanish &
dunst &
autocutsel &
fcitx5 -d
xbindkeys -f "$XDG_CONFIG_HOME/xbindkeys/main"
{% if yadm.hostname == "thoncc" %}
xdimmer -t 45 -p 3 &
light-locker --no-late-locking &
{% else %}
redshift -l 52:6 &
nicotine &
{% endif %}
flashfocus &

# bw unlock <password> --raw | keyctl padd user bw_session @u
# sh $HOME/.config/i3/unlock_bitwarden &
[ -f "$XDG_CONFIG_HOME/i3/unlock_bitwarden" ] && "$XDG_CONFIG_HOME/i3/unlock_bitwarden" &

# auto start lazy script after everything else
sleep 2
[ -f "$HOME/do.sh" ] && . "$HOME/do.sh"