From 44b6750a8b5562d6f7b69779a818f7c8d94e8335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Tue, 30 Jul 2024 19:07:04 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(xdg):=20pictures?= =?UTF-8?q?=20dir=20is=20now=20pointing=20towards=20Pictures=20instead=20o?= =?UTF-8?q?f=20Images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/user_variables.fish | 1 - .config/gtk-3.0/bookmarks | 2 +- .config/nvim/lua/plugins/extras/editor/codesnap.lua | 2 +- .config/rofi/scripts/screenshot/screenshot | 2 +- .config/rofi/scripts/screenshot/screenshot_selection | 2 +- .config/user-dirs.dirs | 2 +- .local/bin/downloadMedia | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.config/fish/user_variables.fish b/.config/fish/user_variables.fish index 7498f644..d4509b4b 100644 --- a/.config/fish/user_variables.fish +++ b/.config/fish/user_variables.fish @@ -5,7 +5,6 @@ set -xg XDG_DATA_HOME $HOME/.local/share set -xg XDG_STATE_HOME $HOME/.local/state set -xg XDG_BIN_HOME $HOME/.local/bin set -xg XDG_SCRIPT_HOME $HOME/.local/script -set -xg XDG_SCREENSHOTS_HOME $HOME/Images/Screenshots # Respect XDG Specification set -xg CONAN_USER_HOME $XDG_CONFIG_HOME diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks index a689236b..291af821 100644 --- a/.config/gtk-3.0/bookmarks +++ b/.config/gtk-3.0/bookmarks @@ -1,6 +1,6 @@ file:///home/matt/Downloads Downloads file:///home/matt/Documents Documents -file:///home/matt/Images Images +file:///home/matt/Pictures Images file:///home/matt/Music Music file:///home/matt/Games Games file:///home/matt/Videos Videos diff --git a/.config/nvim/lua/plugins/extras/editor/codesnap.lua b/.config/nvim/lua/plugins/extras/editor/codesnap.lua index 8c422052..5a35f7d7 100644 --- a/.config/nvim/lua/plugins/extras/editor/codesnap.lua +++ b/.config/nvim/lua/plugins/extras/editor/codesnap.lua @@ -9,7 +9,7 @@ return { }, cond = vim.env.KITTY_SCROLLBACK_NVIM == nil, opts = { - save_path = "/home/matt/Images/Capturas/Codigo", -- FIX: Need to find a way for this to work inside vscode and kitty + save_path = "/home/matt/Pictures/Screenshots/Code", -- FIX: Need to find a way for this to work inside vscode and kitty title = "CodeSnap.nvim", code_font_family = "JetBrainsMono Nerd Font", watermark_font_family = "JetBrainsMono Nerd Font", diff --git a/.config/rofi/scripts/screenshot/screenshot b/.config/rofi/scripts/screenshot/screenshot index d6808368..2f9c13f0 100755 --- a/.config/rofi/scripts/screenshot/screenshot +++ b/.config/rofi/scripts/screenshot/screenshot @@ -7,7 +7,7 @@ fi # variables theme="$HOME/.config/rofi/scripts/screenshot/style.rasi" hyprshot="$HOME/.config/hypr/scripts/hyprshot" -save_dir="$HOME/Images/Capturas/PC" +save_dir="$HOME/Pictures/Screenshots/PC" filename="captura-$(date +%Y-%m-%d-%s).png" command="$hyprshot -o $save_dir -f $filename $extra_args" diff --git a/.config/rofi/scripts/screenshot/screenshot_selection b/.config/rofi/scripts/screenshot/screenshot_selection index 8cc9f722..41d23223 100755 --- a/.config/rofi/scripts/screenshot/screenshot_selection +++ b/.config/rofi/scripts/screenshot/screenshot_selection @@ -1,6 +1,6 @@ #!/bin/bash -screenshots_dir="$HOME/Imagenes/Capturas/PC" +screenshots_dir=$HOME/Pictures/Screenshots/PC theme="$HOME/.config/rofi/scripts/wallpaper/style.rasi" build_theme() { diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index b96f5606..4690dbf7 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -9,7 +9,7 @@ XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_MUSIC_DIR="$HOME/Music" -XDG_PICTURES_DIR="$HOME/Images" +XDG_PICTURES_DIR="$HOME/Pictures" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_VIDEOS_DIR="$HOME/Videos" diff --git a/.local/bin/downloadMedia b/.local/bin/downloadMedia index 4bf5324d..5758e46a 100755 --- a/.local/bin/downloadMedia +++ b/.local/bin/downloadMedia @@ -1,6 +1,6 @@ #!/bin/bash -image_folder="$HOME/Images/" +image_folder="$HOME/Pictures/" video_folder="$HOME/Videos/" # Utils