aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
blob: 33330db173fb71f5285b372ad5e08804839fb120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

[ -d /etc/X11/xinit/xinitrc.d ] && \
	for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f"; done && unset f

[ -r ~/.wallpaper/default ] && \
	feh --bg-fill --no-fehbg ~/.wallpaper/default || \
	feh --recursive --randomize --bg-fill --no-fehbg ~/.wallpaper

setxkbmap \
	-layout 'us(altgr-intl),de(nodeadkeys)' \
	-option 'grp:shifts_toggle,compose:menu'
xmodmap ~/.us-intl-german.xmodmap

xrdb -merge ~/.Xresources
xset b off

xinput --set-prop 11 'libinput Accel Speed' -0.7

# color temperature
[ $(command -v sct 2>/dev/null) ] && sct 4400

exec $STARTUP runsvdir -P ~/service.x 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'