aboutsummaryrefslogtreecommitdiffstats
path: root/x/.xinitrc
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2020-05-30 11:27:16 +0800
committerPeter Son Struschka <me@peter-struschka.com>2020-05-30 11:48:52 +0800
commite67864e295552040310304957590a82bc734dc9b (patch)
treee3b16d4c4d48465e5d58e9460d66236e6ef98f9a /x/.xinitrc
parent0902ce59971bf8c75c7e6544d4956e4164c66990 (diff)
downloaddotfiles-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/.xinitrc')
-rwxr-xr-xx/.xinitrc16
1 files changed, 2 insertions, 14 deletions
diff --git a/x/.xinitrc b/x/.xinitrc
index b77a2bd..bfb558c 100755
--- a/x/.xinitrc
+++ b/x/.xinitrc
@@ -1,19 +1,7 @@
#!/bin/sh
-[ -f ~/.xprofile ] && . ~/.xprofile
-
-userresources=$HOME/.Xresources
-
-[ -f $userresources ] && xrdb -merge $userresources
-
-# set keyboard
-setxkbmap -layout us,us -variant ,dvp -option grp:shifts_toggle
-
-# load Xresources
-[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
-
-# Set display
-systemctl --user import-environment DISPLAY
+xprofile=${XDG_CONFIG_HOME}/X/xprofile
+[ -f $xprofile ] && . $xprofile
#exec startxfce4
exec i3