diff options
author | garhve <git@garhve.com> | 2024-09-16 15:46:19 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2024-09-16 15:46:19 +0800 |
commit | 34651ac2e3fe264a8be6509638d69fd2c1e4d294 (patch) | |
tree | b3adbc4242ae53a9b8d11577be871285ea545cd7 | |
parent | 57210d60423aa664bf71863c46a6616993e4fdf4 (diff) |
move HYPRSHOT_DIR to hyprland.conf
-rw-r--r-- | .config/hypr/hyprland.conf | 3 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index a3bab5a..74cd82a 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -94,6 +94,9 @@ env = XMODIFILERS, @im=fcitx env = SDL_IM_MODULE, fcitx env = GLFW_IM_MODULE, ibus +# hyprshot env needs to set here to be able to use +# in zshrc, it will only affect current session +env = HYPRSHOT_DIR, /home/pico/data/pictures/screenshots ##################### ### LOOK AND FEEL ### ##################### diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 0b70e14..b2ad552 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -49,7 +49,6 @@ export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XINITRC="$XDG_CONFIG_HOME/X11/xerverrc" export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" export FEHBG_PATH="$XDG_CONFIG_HOME/feh/fehbg" -export HYPRSHOT_DIR="$XDG_PICTURES_DIR/screenshots" export EDITOR="vim" # Download zimfw plugin manager if missing. |