1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: add random wallpaper change

This commit is contained in:
oddlama 2024-06-13 00:35:40 +02:00
parent 71bd2f8054
commit 364632a89a
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 39 additions and 28 deletions

View file

@ -7,8 +7,6 @@
writeShellApplication {
name = "brightness";
text = ''
set -euo pipefail
${brightnessctl}/bin/brightnessctl "$1" "$2"
case "$2" in
"+"*) image=${./assets}/brightness-increase.svg ;;

View file

@ -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