This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/base/.xprofile
2019-09-14 23:20:26 -07:00

31 lines
636 B
Bash

#!/bin/sh
# sourced at boot by ~/.xinitrc and most display managers
export XDG_CONFIG_HOME="$HOME/.config"
# add additional directories to PATH
for dir in /sbin /usr/sbin "$HOME/bin"; do
[ -d "$dir" ] && PATH="$dir:$PATH"
done
# compton
compton -b &
# restore the background
nitrogen --restore &
# keyring and polkit daemons
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
gnome-keyring-daemon --start --components=pkcs11 &
# super alone simulates Alt-F1
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
# dpms: timeout sleep off
xset dpms 600 900 1200
# keyboard repeat rate
xset r rate 350 60