From 902bcea33c46892f62e43b86b93b7f64c8d2b87c Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 2 Sep 2024 20:19:33 -0700 Subject: [PATCH] remove sublimity mode and modify terminal instantiation key --- .config/sway/config | 6 +++--- .emacs.d/settings.org | 15 --------------- scripts/machine-specific-zsh/asuka.zsh | 7 ++++++- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index b9207f2..8e646e4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -19,8 +19,7 @@ set $wallpapers_path $HOME/Wallpapers ### Output configuration # -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg `find $wallpapers_path/$([ -z "$DARK_MODE" ] && echo "light" || echo "dark") -type f | grep -v "gitkeep" | shuf -n 1` fill +output * bg `find $wallpapers_path/$(cat $HOME/theme) -type f | grep -v "gitkeep" | shuf -n 1` fill # VNC External Monitor output HEADLESS-1 { @@ -62,7 +61,7 @@ exec swayidle -w \ # bindsym $mod+Shift+n exec swaylock-corrupter # Start a terminal - bindsym $mod+Return exec $term + bindsym $mod+Shift+Return exec $term # Kill focused window bindsym $mod+Shift+q kill @@ -231,3 +230,4 @@ exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec "systemctl --user import-environment {,WAYLAND_}DISPLAY SWAYSOCK; systemctl --user start sway-session.target" exec swaymsg -t subscribe '["shutdown"]' && systemctl --user stop sway-session.target +exec emacs-keys-everywhere diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index e588f74..bd1a443 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -63,21 +63,6 @@ (do-frame-config) (add-hook 'after-make-frame-functions 'disable-scroll-bars)) #+END_SRC -*** submlimity -#+BEGIN_SRC emacs-lisp - (use-package sublimity - :ensure t - :straight '(sublimity - :type git - :host github - :repo "zk-phi/sublimity")) - - (require 'sublimity-scroll) - ;;(require 'sublimity-map) ;; experimental - (require 'sublimity-attractive) - - (sublimity-mode 1) -#+END_SRC ** System path (macos) #+BEGIN_SRC emacs-lisp (use-package exec-path-from-shell diff --git a/scripts/machine-specific-zsh/asuka.zsh b/scripts/machine-specific-zsh/asuka.zsh index b678190..4423f6a 100644 --- a/scripts/machine-specific-zsh/asuka.zsh +++ b/scripts/machine-specific-zsh/asuka.zsh @@ -1,4 +1,3 @@ - eval "$(zoxide init --cmd z zsh)" if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then @@ -7,3 +6,9 @@ fi export GPG_TTY=$(tty) . /opt/asdf-vm/asdf.sh + +export PYENV_ROOT="$HOME/.pyenv" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + +export PATH=$PATH:/home/lizzy/.pyenv/shims