aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.xprofile18
1 files changed, 17 insertions, 1 deletions
diff --git a/.xprofile b/.xprofile
index dc372e2..2c5e0e7 100644
--- a/.xprofile
+++ b/.xprofile
@@ -1,6 +1,22 @@
#!/usr/bin/env bash
-setxkbmap de &
+#X11 keyboard maps
+setxkbmap -layout de &
+
+# use .Xmodmap
+if [[ -f ~/.Xmodmap ]]; then
+ /usr/bin/xmodmap ~/.Xmodmap &
+fi
+
+# use .Xresources
+if [[ -f ~/.Xresources ]];then
+ /usr/bin/xrdb ~/.Xresources &
+fi
+
+# start lxpolkit to have polkit authentication
+if [ -x /usr/bin/lxpolkit ]; then
+ /usr/bin/lxpolkit &
+fi
if [ -x "$HOME/bin/lid-switch-action" ] && [ "$HOSTNAME" = dvzrv ]; then
$HOME/bin/lid-switch-action login &