diff options
Diffstat (limited to 'ar')
| -rw-r--r-- | ar/.config/rmpc/themes/catppuccin-mocha.ron | 2 | ||||
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-ylog | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ar/.config/rmpc/themes/catppuccin-mocha.ron b/ar/.config/rmpc/themes/catppuccin-mocha.ron index d2f6cd5..071881d 100644 --- a/ar/.config/rmpc/themes/catppuccin-mocha.ron +++ b/ar/.config/rmpc/themes/catppuccin-mocha.ron @@ -23,7 +23,7 @@ preview_metadata_group_style: (fg: "#f9e2af", modifiers: "Bold"), highlighted_item_style: (fg: "#cba6f7", modifiers: "Bold"), current_item_style: (fg: "#1e1e2e", bg: "#89b4fa", modifiers: "Bold"), - borders_style: (fg: "#45475a"), + borders_style: (fg: "#6c7086"), highlight_border_style: (fg: "#89b4fa"), symbols: ( song: "🎵", diff --git a/ar/.local/bin/statusbar/sb-ylog b/ar/.local/bin/statusbar/sb-ylog index 933b5e0..7f53c8e 100755 --- a/ar/.local/bin/statusbar/sb-ylog +++ b/ar/.local/bin/statusbar/sb-ylog @@ -6,7 +6,7 @@ # Middle click: force refresh # Right click: help -CACHE_DIR="/tmp/ylog_sb" +CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/ylog_sb" PREV="$CACHE_DIR/prev" CURR="$CACHE_DIR/curr" NEW="$CACHE_DIR/new" @@ -14,6 +14,8 @@ LOCK="$CACHE_DIR/lock" mkdir -p "$CACHE_DIR" +export SSH_AUTH_SOCK="/run/user/$(id -u)/gnupg/S.gpg-agent.ssh" + fetch_logs() { us_today=$(TZ=America/New_York LC_TIME=C date +%d/%b) us_yesterday=$(TZ=America/New_York LC_TIME=C date -d 'yesterday' +%d/%b) @@ -83,3 +85,5 @@ if [ -s "$NEW" ]; then count=$(wc -l <"$NEW") printf "🌐%s\n" "$count" fi + +exit 0 |
