🔧 chore(system): change xdg directories first letter to lowercase

This commit is contained in:
Sergio Laín 2024-08-15 16:56:36 +02:00
parent 8c941a0b65
commit 538fe305e4
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
8 changed files with 37 additions and 24 deletions

View file

@ -1,11 +1,11 @@
file:///home/matt/Downloads Downloads file:///home/matt/downloads downloads
file:///home/matt/Documents Documents file:///home/matt/documents documents
file:///home/matt/Pictures Images file:///home/matt/music music
file:///home/matt/Music Music file:///home/matt/pictures pictures
file:///home/matt/Games Games file:///home/matt/videos videos
file:///home/matt/Videos Videos file:///home/matt/games games
file:///home/matt/.config .config file:///home/matt/repos repos
file:///home/matt/.config/hypr/theme/walls walls file:///home/matt/documents/obsidian-vaults obsidian-vaults
file:///home/matt/Documents/Obsidian/obsidianVault obsidianVault
file:///backups backups file:///backups backups
file:///vm vm file:///vm vm
file:///home/matt/.config .config

View file

@ -9,7 +9,7 @@ return {
}, },
cond = vim.env.KITTY_SCROLLBACK_NVIM == nil, cond = vim.env.KITTY_SCROLLBACK_NVIM == nil,
opts = { opts = {
save_path = (os.getenv("HOME") .. "/Pictures/Screenshots/Code"), save_path = (os.getenv("HOME") .. "/pictures/screenshots/code"),
title = "CodeSnap.nvim", title = "CodeSnap.nvim",
code_font_family = "JetBrainsMono Nerd Font", code_font_family = "JetBrainsMono Nerd Font",
watermark_font_family = "JetBrainsMono Nerd Font", watermark_font_family = "JetBrainsMono Nerd Font",

View file

@ -7,7 +7,7 @@ fi
# variables # variables
theme="$HOME/.config/rofi/scripts/screenshot/style.rasi" theme="$HOME/.config/rofi/scripts/screenshot/style.rasi"
hyprshot="$HOME/.config/hypr/scripts/hyprshot" hyprshot="$HOME/.config/hypr/scripts/hyprshot"
save_dir="$HOME/Pictures/Screenshots/PC" save_dir="$HOME/pictures/screenshots/pc"
filename="captura-$(date +%Y-%m-%d-%s).png" filename="captura-$(date +%Y-%m-%d-%s).png"
command="$hyprshot -o $save_dir -f $filename $extra_args" command="$hyprshot -o $save_dir -f $filename $extra_args"

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
screenshots_dir=$HOME/Pictures/Screenshots/PC screenshots_dir=$HOME/pictures/screenshots/pc
theme="$HOME/.config/rofi/scripts/wallpaper/style.rasi" theme="$HOME/.config/rofi/scripts/wallpaper/style.rasi"
build_theme() { build_theme() {

View file

@ -5,12 +5,12 @@
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported. # absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DESKTOP_DIR="$HOME/desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_MUSIC_DIR="$HOME/Music" XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/Pictures" XDG_PICTURES_DIR="$HOME/pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_PUBLICSHARE_DIR="$HOME/public"
XDG_TEMPLATES_DIR="$HOME/Templates" XDG_TEMPLATES_DIR="$HOME/templates"
XDG_VIDEOS_DIR="$HOME/Videos" XDG_VIDEOS_DIR="$HOME/videos"
XDG_GAMES_DIR="$HOME/Games" XDG_GAMES_DIR="$HOME/games"

View file

@ -594,6 +594,19 @@ dirs = [
{ name = "Public", text = "" }, { name = "Public", text = "" },
{ name = "Templates", text = "" }, { name = "Templates", text = "" },
{ name = "Videos", text = "" }, { name = "Videos", text = "" },
{ name = "desktop", text = "" },
{ name = "repos", text = "" },
{ name = "documents", text = "" },
{ name = "downloads", text = "" },
{ name = "library", text = "" },
{ name = "obsidian", text = "󰠮" },
{ name = "games", text = "" },
{ name = "movies", text = "" },
{ name = "music", text = "" },
{ name = "pictures", text = "" },
{ name = "public", text = "" },
{ name = "templates", text = "" },
{ name = "videos", text = "" },
] ]
files = [ files = [

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
image_folder="$HOME/Pictures/" image_folder="$HOME/pictures/"
video_folder="$HOME/Videos/" video_folder="$HOME/videos/"
# Utils # Utils
notify() { notify() {

View file

@ -9,7 +9,7 @@ if ! command -v spotdl &>/dev/null; then
exit 1 exit 1
fi fi
MUSIC_FOLDER="$HOME/Music/Listen-To" MUSIC_FOLDER="$HOME/music/listen-to"
notify "Started syncing..." notify "Started syncing..."