-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.xinitrc
More file actions
executable file
·60 lines (48 loc) · 1.11 KB
/
.xinitrc
File metadata and controls
executable file
·60 lines (48 loc) · 1.11 KB
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
#!/bin/sh
#
# ~/.xinitrc
# Executed by startx
# By calling this with arguments we can start different sessions
# eg. startx ~/.xinitrc i3 or startx ~/.xinitrc bspwm
# simply using startx, openbox is set as the default
# session=${1:-openbox}
# session=bsp
# source files in /etc/X11/xinit/xinitrc.d
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && "$f"
done
unset f
fi
xmonad --recompile
# this must be before the 'exec' command
# it sources ~/.xprofile for additional settings
[ -f ~/.xprofile ] && ~/.xprofile
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
# i am root lockscreen
xss-lock -l -- i3lock -n -f -i ~/.lock.png &
# start the session
# case $session in
# i3|i3wm)
# exec i3
# ;;
# bsp|bspwm)
# exec bspwm
# ;;
# awesome)
# exec awesome
# ;;
# xfce|xfce4)
# exec startxfce4
# ;;
# openbox|openbox-session)
# exec openbox-session
# ;;
# *)
# exec $1
# ;;
wmname LG3D
exec xmonad
killall redshift
redshift -l 50.70:7.09 &
# esac