Commit 0dd9112
xxwhirlpool
·
2025-08-05 05:52:05 -0400 EDT
parent 389a59b
post-PC nuke fixes
7 files changed,
+15,
-5
+5,
-0
| ... | ... | @@ -4,3 +4,8 @@ config/.config/conky/wttr.png | |
| 4 | 4 | ||
| 5 | 5 | config/.bashrc | |
| 6 | 6 | config/.local/bin/pusheu | |
| 7 | + | ||
| 8 | + | config/.local/bin/fd | |
| 9 | + | config/.local/bin/hyfetch | |
| 10 | + | config/.local/bin/neowofetch | |
| 11 | + | config/.local/bin/wheel |
+4,
-0
| ... | ... | @@ -0,0 +1,4 @@ | |
| 1 | + | { | |
| 2 | + | "Alt-/": "lua:comment.comment", | |
| 3 | + | "CtrlUnderscore": "lua:comment.comment" | |
| 4 | + | } |
+0,
-0
Binaries are not rendered as diffs.
+3,
-0
+1,
-3
| ... | ... | @@ -6,7 +6,7 @@ | |
| 6 | 6 | ||
| 7 | 7 | export DISPLAY=:0 | |
| 8 | 8 | SHOTPATH="/media/kat/disk/Pictures/Screenshots" | |
| 9 | - | COUNT=$(find $SHOTPATH -type f -printf x | wc -c | awk '{print $1+1}' | awk '{printf "%04d\n", $0}') | |
| 9 | + | COUNT=$(find $SHOTPATH -type f -printf x | wc -c | awk '{print $1+2}' | awk '{printf "%04d\n", $0}') | |
| 10 | 10 | FILE="$SHOTPATH/$COUNT.png" | |
| 11 | 11 | ||
| 12 | 12 | post () { # copy image to clip & send a notification |
| ... | ... | @@ -14,5 +14,3 @@ post () { # copy image to clip & send a notification | |
| 14 | 14 | } | |
| 15 | 15 | ||
| 16 | 16 | import -window root "$FILE" && post || exit 1 | |
| 17 | - | ||
| 18 | - | notify-send "screenshot taken" "saved as ${FILE} in ${SHOTPATH}" |
+1,
-1
| ... | ... | @@ -6,7 +6,7 @@ | |
| 6 | 6 | ||
| 7 | 7 | export DISPLAY=:0 | |
| 8 | 8 | SHOTPATH="/media/kat/disk/Pictures/Screenshots" | |
| 9 | - | COUNT=$(find $SHOTPATH -type f -printf x | wc -c | awk '{print $1+1}' | awk '{printf "%04d\n", $0}') | |
| 9 | + | COUNT=$(find $SHOTPATH -type f -printf x | wc -c | awk '{print $1+2}' | awk '{printf "%04d\n", $0}') | |
| 10 | 10 | FILE="$SHOTPATH/$COUNT.png" | |
| 11 | 11 | ||
| 12 | 12 |