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/home/.xprofile
2018-12-13 02:08:45 -08:00

29 lines
671 B
Bash

#!/bin/sh
# ~/.xprofile
# sourced at boot by both xinit and most display managers like lightdm
export XDG_CONFIG_HOME="$HOME/.config"
[ -d /sbin ] && PATH="$PATH:/sbin"
[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin"
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
# restore the background
nitrogen --restore &
# keyring and polkit daemons
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
gnome-keyring-daemon --start --components=pkcs11 &
# pressing super alone simulates Alt-F1
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
# display timeout and sleep
xset s 1200 1300
xset dpms 1200 1300 1400
# keyboard repeat rate
xset r rate 350 60