Pi66

pind
Simple Rust hotkey daemon.
git clone https://git.pi66.xyz/pind

← back to log

Makefile: prevent overwriting existing file on rebuild

author: pixel2175
date: 2025-08-13 14:40
hash: e16440a8424e965fe446f39fbe261dba398e16db

Diffstat:

M

pindrc
4 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
diff --git a/pindrc b/pindrc
index 376f738..555f165 100644
--- a/pindrc
+++ b/pindrc
@@ -1,8 +1,8 @@
-CSU :   doas light -A 10 ; notify-send "Light" "Light Up %$(light)"
+CSU : light -A 10 ; notify-send "Light" "Light Up %$(light)"
 CSD :   doas light -U 10 ; notify-send "Light" "Light Down %$(light)"
 Mu  :   set file (ls ~/learn/book | wmenu); and test -n "<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow><mi>f</mi><mi>i</mi><mi>l</mi><mi>e</mi><mi>"</mi><mi>;</mi><mi>a</mi><mi>n</mi><mi>d</mi><mi>z</mi><mi>a</mi><mi>t</mi><mi>h</mi><mi>u</mi><mi>r</mi><mi>a</mi><mtext>&#x000A0;</mtext><mo>&#x0002F;</mo><mi>l</mi><mi>e</mi><mi>a</mi><mi>r</mi><mi>n</mi><mo>&#x0002F;</mo><mi>b</mi><mi>o</mi><mi>o</mi><mi>k</mi><mo>&#x0002F;</mo><mi>"</mi></mrow></math>file"
 CSR :   pactl set-sink-volume @DEFAULT_SINK@ +10% ; notify-send "Sound" "Volume Up %$(pamixer --get-volume)"
 CSL :   pactl set-sink-volume @DEFAULT_SINK@ -10% ; notify-send "Sound" "Volume Down %$(pamixer --get-volume)"
 CSw :   walrs -i ~/.config/wallpaper
-CSm :   grim -g "$(slurp)" - | wl-copy && pino --title "Screenshot" --message "The screenshot is copied to clipboard"
+CSm :   grim -g "$(slurp)" - | wl-copy && notify-send "Screenshot" "The screenshot is copied to clipboard"
 CSh :   foot