aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
blob: 2c5e0e7634cb37cb54820b32a66b68c3b34f7b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash

#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 &
fi

if [ -x /usr/bin/termite ]; then
  termite &
fi