Add unified .xprofile for all systems
This commit is contained in:
parent
9998efe021
commit
419dbdfc27
4 changed files with 18 additions and 0 deletions
8
.xprofile
Executable file
8
.xprofile
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
[[ -d ${HOME}/.xprofile.d ]] && {
|
||||
for lc in $(find ${HOME}/.xprofile.d -name '*.zsh' -o -name '*.sh'); do
|
||||
[[ -e $lc ]] && source ${lc} || true
|
||||
done
|
||||
} || true
|
3
.xprofile.d/01-fix-keyboard.sh
Normal file
3
.xprofile.d/01-fix-keyboard.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Fix Keyboard setup
|
||||
setxkbmap -option ''
|
||||
setxkbmap -layout us,de -option 'grp_led:scroll,grp:caps_toggle,compose:ralt'
|
5
.xprofile.d/50-fix-ssh-agent.sh
Normal file
5
.xprofile.d/50-fix-ssh-agent.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Fix broken ssh-agent after crash
|
||||
systemctl --user is-active ssh-agent.service | grep -q active || {
|
||||
rm -f ~/.ssh/ssh_auth_sock
|
||||
systemctl --user restart ssh-agent.service
|
||||
}
|
2
.xprofile.d/50-xbindkeys.sh
Normal file
2
.xprofile.d/50-xbindkeys.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
killall xbindkeys || true
|
||||
xbindkeys -p
|
Loading…
Reference in a new issue