diff options
| author | yuzu-eva <stevenhu@web.de> | 2022-12-15 21:29:12 +0100 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2022-12-15 21:29:12 +0100 |
| commit | 750eecccdb229debde1854601daf190b51ae2536 (patch) | |
| tree | 95beba1da5043badc5acf3294cf4fbeba9111679 /.xinitrc | |
| parent | c6f68bcca9c568c57e842fb405ccd4158bdd1e3d (diff) | |
cleaned up my aliases, added evil-surround to emacs
Diffstat (limited to '.xinitrc')
| -rw-r--r-- | .xinitrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -11,6 +11,14 @@ if [ -f $HOME/.local/bin/statusbar ]; then . $HOME/.local/bin/statusbar fi +envfile="$HOME/.gnupg/gpg-agent.env" +if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then + eval "$(cat "$envfile")" +else + eval "$(gpg-agent --daemon --allow-preset-passphrase --write-env-file "$envfile")" +fi +export GPG_AGENT_INFO + rfkill block all xset s off -dpms setxkbmap -option "ctrl:nocaps" @@ -28,6 +36,7 @@ xrandr --auto --output DisplayPort-2 --mode 1600x900 --left-of HDMI-A-0 dbus-launch --sh-syntax --exit-with-session +eval $(ssh-agent) pipewire & mpd & /usr/local/bin/emacs --daemon & |
