mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-07 17:04:00 +01:00
packages(dunst-scripts): Show for 1 second
This commit is contained in:
parent
f7ea988d1c
commit
c654273f92
@ -24,6 +24,7 @@ let
|
|||||||
--icon "multimedia-volume-control" \
|
--icon "multimedia-volume-control" \
|
||||||
--hint "string:x-dunst-stack-tag:volume" \
|
--hint "string:x-dunst-stack-tag:volume" \
|
||||||
--hint "int:value:$(math "$(echo "$VOL" | awk '{print $2}') * 100")" \
|
--hint "int:value:$(math "$(echo "$VOL" | awk '{print $2}') * 100")" \
|
||||||
|
--expire-time 1000 \
|
||||||
"音量" \
|
"音量" \
|
||||||
"$(echo "$VOL" | awk '{print $3}' | sed -e 's/\[MUTED\]/ミュート/' | tr --delete '\n')"
|
"$(echo "$VOL" | awk '{print $3}' | sed -e 's/\[MUTED\]/ミュート/' | tr --delete '\n')"
|
||||||
'';
|
'';
|
||||||
@ -39,6 +40,7 @@ let
|
|||||||
--icon "brightness" \
|
--icon "brightness" \
|
||||||
--hint "string:x-dunst-stack-tag:brightness" \
|
--hint "string:x-dunst-stack-tag:brightness" \
|
||||||
--hint "int:value:$(brightnessctl set 5%+ -m | awk --field-separator , '{print $4}')" \
|
--hint "int:value:$(brightnessctl set 5%+ -m | awk --field-separator , '{print $4}')" \
|
||||||
|
--expire-time 1000 \
|
||||||
"明るさ"
|
"明るさ"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user