-
Notifications
You must be signed in to change notification settings - Fork 1
/
xinitrc
44 lines (37 loc) · 786 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
#!/bin/sh
#
# ~/.xinitrc
#
# 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
# Local defaults for fonts
if [ -e ~/.Xdefaults.local ]; then
xrdb ~/.Xdefaults.local
fi
# Xresources for resizing urxvt windows
if [ -e ~/.Xresources ]; then
xrdb -merge ~/.Xresources
fi
# Set defaults
xsetroot -cursor_name left_ptr
feh --bg-fill ~/background.jpg
setxkbmap -option caps:super
# For Model-M
#setxkbmap -option altwin:swap_lalt_lwin
xautolock -time 5 -locker slimlock -detectsleep &
xset b 0
. ~/bin/startup-functions.sh
start_tray
start_power
start_network
start_sound
#start_bluetooth
start_clipboard
start_display
start_notify
exec xmonad