updating .gitignore, user-dirs.dirs, etc
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -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
|
||||
export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
|
||||
|
||||
todo ls
|
||||
|
||||
@@ -12,7 +12,7 @@ c.fonts.tabs.selected = "13pt default_family"
|
||||
c.fonts.tabs.unselected = "13pt default_family"
|
||||
c.zoom.default = "130%"
|
||||
c.content.javascript.enabled = False
|
||||
c.downloads.location.directory = "~/downloads"
|
||||
c.downloads.location.directory = "~/dls"
|
||||
c.editor.command = ["alacritty", "-e", "nvim", "{}"]
|
||||
c.editor.encoding = "utf-8"
|
||||
c.auto_save.session = True
|
||||
|
||||
@@ -202,7 +202,7 @@ exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh
|
||||
exec /usr/bin/syncthing
|
||||
|
||||
# Notifications
|
||||
exec_always pgrep -x dunst > /dev/null || dunst
|
||||
exec_always sh -c 'pgrep -x dunst > /dev/null || dunst'
|
||||
|
||||
# Wlsunset (Night Light)
|
||||
exec_always pgrep -x wlsunset > /dev/null || wlsunset -l 47.6 -L -122.3 -t 3500 -T 6000
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/desktop"
|
||||
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
XDG_DOWNLOAD_DIR="$HOME/dls"
|
||||
XDG_TEMPLATES_DIR="$HOME/"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/"
|
||||
XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||
XDG_DOCUMENTS_DIR="$HOME/docs"
|
||||
XDG_MUSIC_DIR="$HOME/music"
|
||||
XDG_PICTURES_DIR="$HOME/pictures"
|
||||
XDG_PICTURES_DIR="$HOME/pics"
|
||||
XDG_VIDEOS_DIR="$HOME/"
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,6 @@
|
||||
.config/qutebrowser/quickmarks
|
||||
.config/qutebrowser/qsettings/
|
||||
.config/qutebrowser/autoconfig.yml
|
||||
.config/borgmatic/config.yaml
|
||||
.config/beets/beets-library.db
|
||||
.config/beets/state.pickle
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
clipboard_text=$(wl-paste)
|
||||
bookmarks_file="$HOME/.local/share/bookmarks/bookmarks"
|
||||
|
||||
if [ ! -f "$bookmarks_file" ]; then
|
||||
@@ -8,10 +9,6 @@ if [ ! -f "$bookmarks_file" ]; then
|
||||
exit 1
|
||||
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
|
||||
clipboard_text=$(echo "$clipboard_text" | xargs)
|
||||
|
||||
@@ -25,8 +22,10 @@ if [ -n "$clipboard_text" ]; then
|
||||
else
|
||||
echo "$clipboard_text" >> "$bookmarks_file"
|
||||
notify-send "Bookmark saved" "$clipboard_text"
|
||||
|
||||
# Run git update script
|
||||
sh "$HOME/.local/bin/bookmark_update"
|
||||
fi
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user