Commit 9da9c80

Eric Bower  ·  2026-09-08 13:26:01 -0400 EDT
parent 93a380e
chore(figbar): remove events i wont use
1 files changed,  +1, -12
+1, -12
 1@@ -16,20 +16,9 @@ def handle_click(event):
 2         if btn == 1:
 3             # Left click: open volume control GUI
 4             subprocess.Popen(["pavucontrol"], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL)
 5-        elif btn in (2, 3):
 6+        elif btn in (2):
 7             # Middle/Right click: toggle mute
 8             subprocess.run(["pamixer", "-t"], stderr=subprocess.DEVNULL)
 9-        elif btn == 4:
10-            # Scroll up: increase volume
11-            subprocess.run(["pamixer", "-i", "5"], stderr=subprocess.DEVNULL)
12-        elif btn == 5:
13-            # Scroll down: decrease volume
14-            subprocess.run(["pamixer", "-d", "5"], stderr=subprocess.DEVNULL)
15-    elif key == "brt":
16-        if btn == 4:
17-            subprocess.run(["brightnessctl", "set", "5%+"], stderr=subprocess.DEVNULL)
18-        elif btn == 5:
19-            subprocess.run(["brightnessctl", "set", "5%-"], stderr=subprocess.DEVNULL)
20 
21 def main():
22     for line in sys.stdin: