aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww
diff options
context:
space:
mode:
authorArpit Chakladar <arpit@chakladar.me>2026-10-10 05:01:52 +0530
committerArpit Chakladar <arpit@chakladar.me>2026-10-10 05:01:52 +0530
commit42911d0ce4c8231a6f9ee5718550a9a2531142ec (patch)
tree2e49c6d7d7577d72239456c2203cf33cd91ed683 /modules/desktop/eww
parentd6a630e86487542e322946fd7d5dab6a37a3354c (diff)
parentfa625f473a4b6cda62ec0f0eb2eb1293ced27573 (diff)
downloadhome-manager-config-42911d0ce4c8231a6f9ee5718550a9a2531142ec.tar.gz
home-manager-config-42911d0ce4c8231a6f9ee5718550a9a2531142ec.zip
Merge branch 'khal-calendar'
Diffstat (limited to 'modules/desktop/eww')
-rw-r--r--modules/desktop/eww/bar/bar.nix2
-rw-r--r--modules/desktop/eww/bar/bar.yuck2
-rw-r--r--modules/desktop/eww/bar/system-stats.lua2
3 files changed, 4 insertions, 2 deletions
diff --git a/modules/desktop/eww/bar/bar.nix b/modules/desktop/eww/bar/bar.nix
index 3f322e4..009b28c 100644
--- a/modules/desktop/eww/bar/bar.nix
+++ b/modules/desktop/eww/bar/bar.nix
@@ -90,10 +90,12 @@
in
builtins.replaceStrings
[
+ "@@bash@@"
"@@niri-status-script@@"
"@@system-stats-script@@"
]
[
+ (lib.getExe config.terminal.bash.package)
(lib.getExe niri-status)
(lib.getExe system-stats)
]
diff --git a/modules/desktop/eww/bar/bar.yuck b/modules/desktop/eww/bar/bar.yuck
index 66e552f..c2fb09d 100644
--- a/modules/desktop/eww/bar/bar.yuck
+++ b/modules/desktop/eww/bar/bar.yuck
@@ -127,7 +127,7 @@
(label :class "system-label"
:text "${system_stats.battery.present ? (system_stats.battery.percent + '%') : '-'}"))
(eventbox :onclick "pamixer --toggle-mute"
- :onscroll "bash -c '[ \"{}\" = \"up\" ] && pamixer --increase 5 --unmute || pamixer --decrease 5'"
+ :onscroll "@@bash@@ -c '[ \"{}\" = \"up\" ] && pamixer --allow-boost --increase 5 --unmute || pamixer --allow-boost --decrease 5'"
:cursor "pointer"
:halign "fill"
(box :orientation "v"
diff --git a/modules/desktop/eww/bar/system-stats.lua b/modules/desktop/eww/bar/system-stats.lua
index b651e2d..6085f39 100644
--- a/modules/desktop/eww/bar/system-stats.lua
+++ b/modules/desktop/eww/bar/system-stats.lua
@@ -483,7 +483,7 @@ local function get_sound_state()
if pout then
local num = tonumber(pout:match("^(%-?%d+)"))
if num then
- percent = math.max(0, math.min(100, num))
+ percent = math.max(0, num)
end
end