From e67864e295552040310304957590a82bc734dc9b Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Sat, 30 May 2020 11:27:16 +0800 Subject: X: reorganise into XDG_CONFIG_DIR --- x/.config/X11/xprofile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 x/.config/X11/xprofile (limited to 'x/.config/X11/xprofile') 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 + -- cgit v1.2.3