aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/autostart##template
blob: 02135f6b49896ecc88a9b36a491b7fd0ecf01277 (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
30
31
#!/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 &
compfy -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 --hidden &
desktop2mqtt --config "$XDG_CONFIG_HOME/desktop2mqtt/config.yml" &
{% endif %}
flashfocus &

# store bitwarden session token using keyctl
{
	keyctl purge user bw_session
	bw unlock --passwordenv BITWARDEN_MASTER_PASSWORD --raw | keyctl padd user bw_session @u
} &

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