35 lines
911 B
Plaintext
35 lines
911 B
Plaintext
#
|
|
# ~/.xprofile (includes ~/.xprofile.local)
|
|
#
|
|
|
|
# Load X resources
|
|
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
|
[ -f ~/.Xresources.local ] && xrdb -merge ~/.Xresources.local
|
|
|
|
# Deactivate screen blanking
|
|
xset -dpms s off
|
|
|
|
# Set background color (as fallback) and wallpaper (if exists)
|
|
xsetroot -solid black
|
|
[ -f ~/.fehbg ] && sh ~/.fehbg
|
|
|
|
# Set keyboard layout
|
|
setxkbmap us altgr-intl
|
|
|
|
# Remap Context Menu key to Super
|
|
xmodmap -e "keysym Menu = Super_R"
|
|
|
|
# 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
|
|
|
|
# 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
|