-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
executable file
·54 lines (41 loc) · 1.21 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
#!/bin/sh
setxkbmap pl
# dirs
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f "$userresources" ] && xrdb -merge "$userresources"
[ -f "$usermodmap" ] && xmodmap "$usermodmap"
[ -f "$xbindkeys" ] && xbindkeys -f $xbindkeys
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
# external monitor
[ -x $SCRIPTS_DIR/screen/moncon ] && $SCRIPTS_DIR/screen/moncon &
# background
[ -f $WALLPAPER_DIR ] && [ -x $SCRIPTS_DIR/screen/setwall ] && $SCRIPTS_DIR/screen/setwall &
# search for all repositories
[ -x $SCRIPTS_DIR/git/repocd ] && $SCRIPTS_DIR/git/repocd &
# notifications process
dunst > /dev/null 2>&1 &
# start bluetooth
bluetoothctl power on &
# transparency
xcompmgr &
# gtk theme support
xsettingsd &
# menu &
while true; do
xsetroot -name "$($SCRIPTS_DIR/statusbar/statusbar)";
sleep 5;
done &
# window manager
#java param to work with webstorm
#export _JAVA_AWT_WM_NONREPARENTING=1
[ -x "$SCRIPTS_DIR/startdwm" ] && startdwm || /usr/local/bin/dwm