diff options
| author | thetubster99 <159262428+thetubster99@users.noreply.github.com> | 2024-05-23 22:23:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 22:23:16 +0000 |
| commit | 7a9bfe6f699805980e79d0bf7674a5866be2b083 (patch) | |
| tree | 35c14bcd17329e370eeb5c9f7d8139965172ccc5 | |
| parent | c95a16916d5c71288e5e49a78d0621943c89a682 (diff) | |
| download | eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.gz eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.zst eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.zip | |
Tiny fix and optimization
| -rw-r--r-- | .config/lf/lfrc | 2 | ||||
| -rwxr-xr-x | .local/bin/statusbar/sb-clock | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index fb43a05..dad917d 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -172,7 +172,7 @@ map U $printf "%s" "$fx" | xclip -selection clipboard map u $printf "%s" "$fx" | sed 's/.*\///' | xclip -selection clipboard map . $printf "%s" "$fx" | sed -E 's/^.+\[/https:\/\/www.youtube.com\/watch?v=/' | sed -E 's/\]\..+//' | xclip -selection clipboard map <gt> $printf "%s" "$fx" | sed -E 's/^.+\[/https:\/\/piped.video\/watch?v=/' | sed -E 's/\]\..+//' | xclip -selection clipboard -map T $sxiv -t "$(pwd)" # opens thumbnail mode +map T $nsxiv -t "$(pwd)" # opens thumbnail mode map <c-l> unselect diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock index 85f1d34..e9c2fe6 100755 --- a/.local/bin/statusbar/sb-clock +++ b/.local/bin/statusbar/sb-clock @@ -19,7 +19,7 @@ case "$clock" in esac case $BLOCK_BUTTON in - 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|sed 's/ //g')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; + 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|tr -d ' ')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; 2) setsid -f "$TERMINAL" -e calcurse ;; 3) notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` - Middle click opens calcurse if installed" ;; |
