forked from mirrors_public/oddlama_nix-config
feat: add random wallpaper change
This commit is contained in:
parent
71bd2f8054
commit
364632a89a
3 changed files with 39 additions and 28 deletions
|
@ -7,8 +7,6 @@
|
|||
writeShellApplication {
|
||||
name = "brightness";
|
||||
text = ''
|
||||
set -euo pipefail
|
||||
|
||||
${brightnessctl}/bin/brightnessctl "$1" "$2"
|
||||
case "$2" in
|
||||
"+"*) image=${./assets}/brightness-increase.svg ;;
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
writeShellApplication {
|
||||
name = "volume";
|
||||
text = ''
|
||||
set -euo pipefail
|
||||
|
||||
${wireplumber}/bin/wpctl "$1" "$2" "$3"
|
||||
current_volume=$(${wireplumber}/bin/wpctl get-volume "$2")
|
||||
case "''${2,,}" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue