updating .gitignore, user-dirs.dirs, etc

This commit is contained in:
2025-04-29 18:25:43 -07:00
parent b8e6598a7f
commit 6a4a6a8c3e
6 changed files with 13 additions and 10 deletions
+2
View File
@@ -189,3 +189,5 @@ PS1="${CYAN}[\u@\h ${YELLOW}\w${GREEN}\$(parse_git_branch)${CYAN}]${WHITE}${RESE
####################################################### #######################################################
# Set SSH_AUTH_SOCK to use Gnome Keyring's SSH agent # Set SSH_AUTH_SOCK to use Gnome Keyring's SSH agent
export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh" export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
todo ls
+1 -1
View File
@@ -12,7 +12,7 @@ c.fonts.tabs.selected = "13pt default_family"
c.fonts.tabs.unselected = "13pt default_family" c.fonts.tabs.unselected = "13pt default_family"
c.zoom.default = "130%" c.zoom.default = "130%"
c.content.javascript.enabled = False c.content.javascript.enabled = False
c.downloads.location.directory = "~/downloads" c.downloads.location.directory = "~/dls"
c.editor.command = ["alacritty", "-e", "nvim", "{}"] c.editor.command = ["alacritty", "-e", "nvim", "{}"]
c.editor.encoding = "utf-8" c.editor.encoding = "utf-8"
c.auto_save.session = True c.auto_save.session = True
+1 -1
View File
@@ -202,7 +202,7 @@ exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh
exec /usr/bin/syncthing exec /usr/bin/syncthing
# Notifications # Notifications
exec_always pgrep -x dunst > /dev/null || dunst exec_always sh -c 'pgrep -x dunst > /dev/null || dunst'
# Wlsunset (Night Light) # Wlsunset (Night Light)
exec_always pgrep -x wlsunset > /dev/null || wlsunset -l 47.6 -L -122.3 -t 3500 -T 6000 exec_always pgrep -x wlsunset > /dev/null || wlsunset -l 47.6 -L -122.3 -t 3500 -T 6000
+3 -3
View File
@@ -6,10 +6,10 @@
# 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_DOWNLOAD_DIR="$HOME/downloads" XDG_DOWNLOAD_DIR="$HOME/dls"
XDG_TEMPLATES_DIR="$HOME/" XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/documents" XDG_DOCUMENTS_DIR="$HOME/docs"
XDG_MUSIC_DIR="$HOME/music" XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/pictures" XDG_PICTURES_DIR="$HOME/pics"
XDG_VIDEOS_DIR="$HOME/" XDG_VIDEOS_DIR="$HOME/"
+2
View File
@@ -1,4 +1,6 @@
.config/qutebrowser/quickmarks .config/qutebrowser/quickmarks
.config/qutebrowser/qsettings/
.config/qutebrowser/autoconfig.yml
.config/borgmatic/config.yaml .config/borgmatic/config.yaml
.config/beets/beets-library.db .config/beets/beets-library.db
.config/beets/state.pickle .config/beets/state.pickle
+4 -5
View File
@@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
clipboard_text=$(wl-paste)
bookmarks_file="$HOME/.local/share/bookmarks/bookmarks" bookmarks_file="$HOME/.local/share/bookmarks/bookmarks"
if [ ! -f "$bookmarks_file" ]; then if [ ! -f "$bookmarks_file" ]; then
@@ -8,10 +9,6 @@ if [ ! -f "$bookmarks_file" ]; then
exit 1 exit 1
fi fi
# Try clipboard first, fall back to primary
clipboard_text=$(wl-paste --no-newline 2>/dev/null)
[ -z "$clipboard_text" ] && clipboard_text=$(wl-paste -p --no-newline 2>/dev/null)
# Trim leading/trailing whitespace # Trim leading/trailing whitespace
clipboard_text=$(echo "$clipboard_text" | xargs) clipboard_text=$(echo "$clipboard_text" | xargs)
@@ -25,8 +22,10 @@ if [ -n "$clipboard_text" ]; then
else else
echo "$clipboard_text" >> "$bookmarks_file" echo "$clipboard_text" >> "$bookmarks_file"
notify-send "Bookmark saved" "$clipboard_text" notify-send "Bookmark saved" "$clipboard_text"
# Run git update script
sh "$HOME/.local/bin/bookmark_update" sh "$HOME/.local/bin/bookmark_update"
fi fi
else else
notify-send "No text to save" "Clipboard and primary selection are empty." notify-send "No text selected" "Please highlight some text to save as a bookmark."
fi fi