-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xinitrc
56 lines (44 loc) · 1.14 KB
/
.xinitrc
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
#!/bin/sh
# #
## .xinitrc ##
### ###
#### ~ created by Flasheh ####
##############################################
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
## copy/paste
/usr/bin/autocutsel -fork &
/usr/bin/autocutsel -selection PRIMARY -fork &
## Load up my Xdefault
xrdb -load ~/.Xdefaults
## Set Wallpaper
feh --bg-scale ~/wallpapers/wallpaper-875318.jpg &
## Font db update
xset +fp /usr/share/fonts/local
xset fp rehash
## Urxvt Daemon
urxvtd -q -o -f
## Start xbindkeys, for multimedia keys
xbindkeys &
## Time to blast some music through my speakers
mpd ~/.mpd/mpd.conf
## Add favourites to front of dmenu
~/scripts/dmenuadd
## Start netspeed script for statusbar
~/scripts/netspeed eth0 &
## Add conky to statusbar
#conky | while read -r; do xsetroot -name "$REPLY"; done &
## Start this shit up. default: dwm
DEFAULT_SESSION=~/scripts/startdwm
case $1 in
openbox)
exec openbox-session
;;
*)
exec $DEFAULT_SESSION
;;
esac