diff options
author | David Runge <dave@sleepmap.de> | 2016-03-11 12:29:32 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-03-11 12:29:32 +0100 |
commit | b7be00a2818fdc2c5b47a318a67c95bde3fda7f1 (patch) | |
tree | 449a677e1cf523e1f8aff8920291344b0db415e1 /.xprofile | |
parent | bc854c1c9d7e73ad5c696f120e1506117e251371 (diff) | |
download | dotfiles-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-- | .xprofile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 & |