mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat: add waybar configuration
This commit is contained in:
parent
426a305b67
commit
870a8b122e
5 changed files with 371 additions and 19 deletions
|
@ -20,6 +20,7 @@ writeShellApplication {
|
|||
value=$(${bc}/bin/bc <<< "scale=0; 100*$value/$max")
|
||||
${libnotify}/bin/notify-send \
|
||||
"Brightness" \
|
||||
--transient \
|
||||
--hint=string:image-path:"$image" \
|
||||
--hint=int:value:"$value" \
|
||||
--hint="string:wired-tag:indicator" \
|
||||
|
|
|
@ -38,6 +38,7 @@ writeShellApplication {
|
|||
|
||||
${libnotify}/bin/notify-send \
|
||||
"Volume" "$value%" \
|
||||
--transient \
|
||||
--hint=string:image-path:"$image" \
|
||||
--hint=int:value:"$indicator_value" \
|
||||
--hint="string:wired-tag:indicator" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue