aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-03-11 12:29:32 +0100
committerDavid Runge <dave@sleepmap.de>2016-03-11 12:29:32 +0100
commitb7be00a2818fdc2c5b47a318a67c95bde3fda7f1 (patch)
tree449a677e1cf523e1f8aff8920291344b0db415e1 /.xprofile
parentbc854c1c9d7e73ad5c696f120e1506117e251371 (diff)
downloaddotfiles-b7be00a2818fdc2c5b47a318a67c95bde3fda7f1.tar.gz
dotfiles-b7be00a2818fdc2c5b47a318a67c95bde3fda7f1.tar.bz2
dotfiles-b7be00a2818fdc2c5b47a318a67c95bde3fda7f1.tar.xz
dotfiles-b7be00a2818fdc2c5b47a318a67c95bde3fda7f1.zip
.xprofile: Adding setxkbmap, xmodmap, xrdb settings to xprofile. Starting lxpolkit as polkit auth handler, if it is installed.
Diffstat (limited to '.xprofile')
-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 &