aboutsummaryrefslogtreecommitdiffstats
path: root/x/.config/X11/xprofile
blob: 273230f7c874190e292a917173dcf423f48364d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# set keyboard
setxkbmap -layout us,us -variant ,dvp -option grp:shifts_toggle
setxkbmap -option caps:swapescape
xset r rate 300 50

# set wallpaper
xwallpaper --zoom ${XDG_DATA_HOME}/images/wallpaper.jpg

# load Xresources
userresources=${XDG_CONFIG_HOME}/X/Xresources
[ -f $userresources ] && xrdb -load $userresources

# systemd user
systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment >/dev/null 2>&1; then
    dbus-update-activation-environment DISPLAY XAUTHORITY
fi