-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.xinitrc
executable file
·40 lines (29 loc) · 995 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
#!/bin/sh
export PATH="/home/xla/.local/bin:$PATH"
xset r rate 160 80 # Sane repeat rate
xset -b # No bell
# order: STANDBY SUSPEND OFF
xset dpms 300 600 720 # Energy mode switch in sec
xset dpms force off
xset s 300 0 # Sets the timeout for the screen saver in sec
xset m 7/5 0 # Pointer settings
setxkbmap -option compose:super # Set compose key to R-Alt
setxkbmap us -variant altgr-intl # Set us layout with accentuated keys
if [ -f ~/.xbindkeysrc ]; then
xbindkeys;
fi
if [ -f ~/.Xmodmap ]; then
xmodmap ~/.Xmodmap;
fi
if [ -f ~/.Xresources ]; then
xrdb -merge ~/.Xresources
fi
if [ -f ~/.nvidia-settings-rc ]; then
nvidia-settings --load-config-only;
fi
xss-lock -- /usr/bin/slock &
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
xlayoutdisplay --rate 144
exec spectrwm