summaryrefslogtreecommitdiff
path: root/.config/openbox/autostart
blob: 9dff4be6354cd327bc52e6835e1e9a1ea83c50b1 (plain) (blame)
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
34
35
36
37
38
39
40
41
#
# These things are run when an Openbox X Session is started.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
#  /usr/libexec/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
#xfce-mcs-manager &

xhost +si:localuser:root # fixes unable to open display errors: https://askubuntu.com/a/1130413
tail -n 1 -f /var/log/Xorg.0.log | while read
do
	~/.fehbg & # wallpaper
	lwa-hot-corners ~/.lwarc & # hot corners
done & # execute stuff when resolution (mostly) changes

dunst &
lxpolkit & # polkit
barrier &
xautolock -detectsleep -secure -time 15 -locker ~/.i3lock/lock.sh & # auto lock screen
tint2 & # taskbar
compton --experimental-backends & # compositor
setxkbmap -layout "us,bg" -variant ",phonetic" -option "grp:alt_shift_toggle" & # keyboard switching

flameshot & # screenshot utility
redshift-gtk & # screen color temperature changer
copyq & # clipboard manager

gtk-launch min &
gtk-launch discord &
gtk-launch nextcloud-desktop &
gtk-launch rambox &
gtk-launch electron-mail &
/opt/Caprine.AppImage &