diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 9495069..a6633f0 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -37,7 +37,7 @@ background = "#1C1F27" foreground = "#979CAC" [cursor] -style = "Underline" +style = "Block" unfocused_hollow = true [debug] @@ -47,7 +47,7 @@ print_events = false render_timer = false [font] -size = 14.0 +size = 16.0 [font.bold] family = "Source Code Pro" @@ -63,7 +63,7 @@ style = "Italic" [font.normal] family = "Source Code Pro" -style = "Medium" +style = "Regular" [font.offset] x = 0 diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..5791174 --- /dev/null +++ b/.zprofile @@ -0,0 +1,3 @@ +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init --path)" diff --git a/.zshrc b/.zshrc index 13f36e9..eadf478 100644 --- a/.zshrc +++ b/.zshrc @@ -173,6 +173,19 @@ alias bms=blur-my-shell # zoxide eval "$(zoxide init --cmd cd zsh)" +# disable suspend while ssh is active +if [ "$SSH_CLIENT" ] && + ! pstree -ps $$ | + grep -q -- '-systemd-inhibit(' >/dev/null; then + + echo "Inhibiting automatic standby" + exec /usr/bin/systemd-inhibit \ + --what=idle --why='Interactive SSH Session' -- \ + "$SHELL" "$@" + +fi + + # SDKMAN & Java export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"