-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
50 lines (35 loc) · 897 Bytes
/
.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
#!/bin/sh
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# merge xresources(color schemes and other configurations)
xrdb -merge ~/.Xresources
# disables cross cursor on empty work space
xsetroot -cursor_name left_ptr
# launch notifcation server
dunst &
# launch devmon
devmon &
# turn off beep
xset b off
# set keyboard rte
xset r rate 300 90
# turn off screen automatically after 10 min idle
xset dpms 600 0 0
# handle fonts cache
xset +fp /usr/share/fonts/
xset fp rehash
# monitors
xrandr --output eDP-1 --auto --primary
xrandr --output HDMI-2 --auto --right-of eDP-1
# compositing
seq 0 1 | xargs -l1 -I@ compton --config $HOME/.config/compton/compton.conf -d :0.@
# set wallpaper
feh --bg-scale ~/pictures/wallpapers/wallpaper_1.jpg
# start bspwm.
sxhkd &
exec bspwm