-
Notifications
You must be signed in to change notification settings - Fork 8
/
.xinitrc
48 lines (38 loc) · 1.07 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
#!/bin/sh
#
# ~/.xinitrc
#
exec >~/.local/share/xorg/xinitrc-$DISPLAY.log 2>&1
set -uex
[ -f ~/.synaptics ] && . ~/.synaptics
setxkbmap -option compose:lwin
setxkbmap -option compose:rwin
setxkbmap -option compose:menu
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl
if [ -f ~/.Xmodmap ]; then
xmodmap ~/.Xmodmap;
fi
if [ -f ~/.Xresources ]; then
xrdb -merge ~/.Xresources
fi
if [ -f ~/.Xresources.local ]; then
xrdb -merge ~/.Xresources.local
fi
if command -v udiskie >/dev/null 2>&1; then
udiskie --no-notify --use-udisks2 &
fi
[ -f ~/.fehbg ] && . ~/.fehbg
[ -f ~/.wacom ] && . ~/.wacom
if xset q &>/dev/null; then
xset r rate 180 40 # Sane repeat rate
xset -b # No bell
xset -dpms # Keep screen on at all times
xset s off #
xset m 7/5 0 # Pointer settings
setxkbmap us -variant altgr-intl
fi
if command -v xbindkeys >/dev/null 2>&1; then
xbindkeys
fi
# `dbus-launch` is required for flameshot.
exec dbus-launch spectrwm