-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup.sh
61 lines (49 loc) · 1.12 KB
/
startup.sh
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
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh
# System tray
if [ -z "$(pgrep trayer)" ] ; then
trayer --edge top \
--align right \
--widthtype percent \
--height 24 \
--alpha 0 \
--transparent true \
--width 5 \
--tint 0x282c34 &
fi
# Power manager
if [ -z "$(pgrep xfce4-power-manager)" ] ; then
xfce4-power-manager &
fi
# Taffybar
# if [ -z "$(pgrep taffybar)" ] ; then
# taffybar &
# fi
# Redshift
if [ -z "$(pgrep redshift)" ] ; then
redshift &
fi
# Autolock
# if [ -z "$(pgrep xautolock)" ] ; then
# xautolock -time 1 -locker "if ! grep 'RUNNING' /proc/asound/card*/pcm*/sub*/status;then xscreensaver-command -lock; else echo 'Sound on'; fi"
# fi
# Wallpaper
#if [ -z "$(pgrep nitrogen)" ] ; then
# nitrogen --restore &
#fi
# Screensaver
if [ -z "$(pgrep xscreensaver)" ] ; then
xscreensaver -no-splash &
fi
# compton
if [ -z "$(pgrep compton)" ] ; then
compton -b &
fi
# Network Applet
if [ -z "$(pgrep nm-applet)" ] ; then
nm-applet &
fi
# Google Drive
if [ -z "$(pgrep insync)" ] ; then
insync start &
fi
feh --bg-scale ~/Pictures/wallpaper.jpg