sway(env),zsh: make the $kee var $HOST-dependent

* have a fallback in ZSH in case it's not run with sway (in which case
  it could be empty)
This commit is contained in:
leo 2023-06-06 16:07:15 +02:00
parent 272bd71852
commit a70339c2dd
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
2 changed files with 2 additions and 2 deletions

@ -4,7 +4,7 @@ CLUTTER_BACKEND=wayland
EDITOR='vim'
TERM='xterm-256color'
kee="surtur"
kee="$HOST"
DOTNET_CLI_TELEMETRY_OPTOUT=1 # why do I always have to take care of this myself...
ANDROID_SDK_ROOT="$HOME/utils/Android/Sdk"

2
.zshrc

@ -162,7 +162,7 @@
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
# export ARCHFLAGS="-arch x86_64"
export kee="surtur"
export kee=${kee:-$(hostnamectl --static)}
SSH_KEY_PATH="$HOME/.ssh/$kee"
eval $(TERM=xterm-kitty dircolors)