dotfiles/.xprofile

35 lines
911 B
Text
Raw Permalink Normal View History

#
# ~/.xprofile (includes ~/.xprofile.local)
#
2018-11-01 22:44:57 +01:00
# Load X resources
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
[ -f ~/.Xresources.local ] && xrdb -merge ~/.Xresources.local
2018-11-01 22:44:57 +01:00
2018-11-01 01:25:33 +01:00
# Deactivate screen blanking
xset -dpms s off
2019-02-08 22:32:11 +01:00
# Set background color (as fallback) and wallpaper (if exists)
xsetroot -solid black
2018-11-01 01:25:33 +01:00
[ -f ~/.fehbg ] && sh ~/.fehbg
# Set keyboard layout
setxkbmap us altgr-intl
2019-09-02 23:38:12 +02:00
# Remap Context Menu key to Super
xmodmap -e "keysym Menu = Super_R"
2018-11-01 01:25:33 +01:00
# Register screen locker
xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen &
# Auto-unlock Gnome keyring (and use it as SSH key agent)
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
2019-10-06 16:43:51 +02:00
# Start polkit authentication agent
POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
[ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &
# Include host-specific .xprofile
[ -f ~/.xprofile.local ] && source ~/.xprofile.local