Add new display widget for the bar
This commit is contained in:
1 parent
cf4935f964
commit
540aaf956d
10 files changed
+471
-13
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Get brightness for the most likely display device.
|
||||
# omarchy:examples=omarchy-brightness-display-get
|
||||
|
||||
if omarchy-hyprland-monitor-focused-apple; then
|
||||
omarchy-brightness-display-apple-get
|
||||
else
|
||||
brightnessctl -d "$(omarchy-hw-display)" -m 2>/dev/null | awk -F, '{ gsub("%", "", $4); print $4; found=1 } END{ exit !found }'
|
||||
fi
|
||||
Reference in new issue
Block a user