aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/autostart##template
blob: c7ef3b68a4fab7134b6695c9f382f8028a43e6f9 (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
#!/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 &

# 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
[ -f "$HOME/do.sh" ] && . "$HOME/do.sh"