feat: add bluetooth to waybar and fix battery max loading
This commit is contained in:
parent
0801cb17aa
commit
539cb58493
5 changed files with 130 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ let
|
|||
'';
|
||||
|
||||
charge-limit-menu = pkgs.writeShellScriptBin "charge-limit-menu" ''
|
||||
choice=$(printf "80%%\n100%%" | ${pkgs.wofi}/bin/wofi --dmenu --prompt "Charge limit")
|
||||
choice=$(printf "80%%\n100%%" | ${pkgs.fzf}/bin/fzf --prompt="Charge limit > " --reverse --no-info)
|
||||
case "$choice" in
|
||||
"80%") /run/wrappers/bin/sudo ${charge-limit-apply}/bin/charge-limit-apply 80 ;;
|
||||
"100%") /run/wrappers/bin/sudo ${charge-limit-apply}/bin/charge-limit-apply 100 ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue