-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxinitrc
More file actions
33 lines (29 loc) · 713 Bytes
/
Copy pathxinitrc
File metadata and controls
33 lines (29 loc) · 713 Bytes
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
#!/bin/sh
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrdb -merge .Xresources
if [ `hostname` = "cedra" ]; then
xrandr --setprovideroutputsource modesetting NVIDIA-0
fi
xrandr --dpi 96
slayout 2 || xrandr --auto
xset r rate 200 33
#xset -dpms
xset s off -dpms
export PATH=$PATH:~/bin/:~/code/scripts/
if command -v pasystray >/dev/null 2>&1; then
pasystray &
fi
if command -v cbatticon >/dev/null 2>&1; then
cbatticon -i symbolic -c "notify-send -u critical 'low battery'" &
fi
if command -v blueman-applet >/dev/null 2>&1; then
blueman-applet &
fi
exec i3