Pi66

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

← back to log

cng: change config file type.

author: pi66
date: 2025-09-04 21:20
hash: f040e56992f62e1571b395aa8ff880f0d498b4f4

Diffstat:

M

pindrc
13 ++++++++++++------------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/pindrc b/pindrc
index 555f165..218ea5c 100644
--- a/pindrc
+++ b/pindrc
@@ -1,8 +1,5 @@
-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 && notify-send "Screenshot" "The screenshot is copied to clipboard"
-CSh :   foot
+ctrl + shift +up  CSU             =>   light -A 10 ; notify-send "Light" "Light Up %$(light)"
+Ctrl_left + shiFt + uP CSD        =>   doas light -U 10 ; notify-send "Light" "Light Down %$(light)"
+meTa_right + a                    =>   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"
+Ctrl_left + shift_right + right   =>   pactl set-sink-volume @DEFAULT_SINK@ +10% ; notify-send "Sound" "Volume Up %$(pamixer --get-volume)"
+ctrl+ shift+left                  =>   pactl set-sink-volume @DEFAULT_SINK@ -10% ; notify-send "Sound" "Volume Down %$(pamixer --get-volume)"