-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xprofile
executable file
·49 lines (43 loc) · 1.52 KB
/
.xprofile
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
42
43
44
45
46
47
48
49
#!/bin/bash
#
# when x starts, also...
session="${SESSION}"
# start compositor if not cinnamon
if [[ "$session" != "mint" && "$session" != "cinnamon" ]]; then
# -b daemon, -i no inactive opacity, -I no fading in or -O out
picom -b -i 1 -I 1 -O 1 &
fi
if [[ "$session" == "xfce" ]]; then
plank &
fi
if [[ "$session" == "i3" ]]; then
refresh polybar
fi
# start xautolock screen locker
screenlock "start"
dunst & # notifications
clipmenud & # clipmenu daemon
unclutter & # get rid of mouse
xfce4-power-manager --daemon & # power management
setxkbmap -layout us,ir -option grp:alts_toggle & # set keyboards
oled-linux & # ugh
mullvad-daemon # mullvad vpn
touchegg --client & # gestures
/usr/lib/kdeconnectd & # kdeconnect
battery-stats-collector & # stats!
/usr/bin/emacs --daemon=gui & # gui emacs daemon
/usr/bin/emacs --daemon=term & # terminal emacs daemon
xset r rate 300 50 & # faster repeating keys
lxpolkit & # authentication agent
daemonize -i3600 setbg & # set background & daemon
# monerod & # start the monero daemon
# monero_mine & # mine monero
# nmcli connection up client & # connect to vpn on login
# nm-applet &
# volctl &
# pasystray &
# blueman-applet &
# transmission-daemon & # transmission in background
# not relevant
# redshift & # reduce bluelight
# start-pulseaudio-x11 & # pulseaudio, should be automatic