-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xsessionrc
49 lines (39 loc) · 1.21 KB
/
.xsessionrc
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
# regular cusor
xsetroot -cursor_name left_ptr
if [ -f "$HOME/.fehbg" ]; then
eval "$(cat $HOME/.fehbg)"
fi
# Notification tray--tint 0x191970
trayer --edge top --align right --SetDockType true --SetPartialStrut false \
--expand true --width 10 --transparent true --alpha 0 --tint 0x000000 --height 17 &
sleep 0.3
# Network manager
if [ -x /usr/bin/nm-applet ] ; then
/usr/bin/nm-applet --sm-disable &
fi
# Bluetooth manager
if [ -x /usr/bin/bluetooth-applet ] ; then
/usr/bin/bluetooth-applet &
fi
# Power manager
if [ -x /usr/bin/gnome-power-manager ] ; then
/usr/bin/gnome-power-manager &
fi
# volume control
if [ -x /usr/bin/volti ] ; then
/usr/bin/volti &
elif [ -x /usr/bin/gnome-volume-control-applet ] ; then
/usr/bin/gnome-volume-control-applet &
elif [ -x /usr/bin/gnome-sound-applet ] ; then
/usr/bin/gnome-sound-applet &
fi
# screen auto-locking
if [ -x /usr/bin/xautolock ] ; then
/usr/bin/xautolock -time 5 -locker "/usr/bin/gnome-screensaver-command -l" \
-corners "+-00" -notify 5 -notifier "/usr/bin/notify-send Locking..." &
fi
# disable touchpad while typing
if [ -x /usr/bin/syndaemon ] ; then
/usr/bin/syndaemon -d -K -i 1 &
fi
# vim: set syntax=sh ts=3 sts=3 sw=3 et: