diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2020-05-30 11:27:16 +0800 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2020-05-30 11:48:52 +0800 |
| commit | e67864e295552040310304957590a82bc734dc9b (patch) | |
| tree | e3b16d4c4d48465e5d58e9460d66236e6ef98f9a /x/.config/X11/xprofile | |
| parent | 0902ce59971bf8c75c7e6544d4956e4164c66990 (diff) | |
| download | dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.gz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.bz2 dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.lz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.xz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.zst dotfiles-e67864e295552040310304957590a82bc734dc9b.zip | |
X: reorganise into XDG_CONFIG_DIR
Diffstat (limited to 'x/.config/X11/xprofile')
| -rwxr-xr-x | x/.config/X11/xprofile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x/.config/X11/xprofile b/x/.config/X11/xprofile new file mode 100755 index 0000000..214a253 --- /dev/null +++ b/x/.config/X11/xprofile @@ -0,0 +1,20 @@ +#!/bin/sh + +# set keyboard +setxkbmap -layout us,us -variant ,dvp -option grp:shifts_toggle +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 + |
