aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/autostart##template
blob: be026020f097aa57d54c080db6212e850cd56c63 (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
32
33
#!/bin/sh
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
{% if yadm.hostname == "thoncc" %}
cat ~/.config/X11/base ~/.config/X11/light | xrdb &
{% else %}
cat ~/.config/X11/base ~/.config/X11/dark | xrdb &
{% endif %}
polybar main -c ~/.config/polybar/config &
zsh -c "rwall" &
picom -b
xbanish &
dunst &
flashfocus &
xset r rate 250 40
autocutsel &
fcitx5 -d
zsh -c "xbindkeys -f ~/.config/xbindkeys/main"
xfsettingsd &
{% if yadm.hostname == "thoncc" %}
xdimmer -t 45 -p 3 &
light-locker --no-late-locking &
{% else %}
redshift -l 52:6 &
nicotine &
{% endif %}

# bw unlock <password> --raw | keyctl padd user bw_session @u
sh ~/.config/i3/unlock_bitwarden &

# auto start lazy script
sleep 2
[[ -f ~/do.sh ]] && source ~/do.sh