diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 11:27:01 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 11:27:01 +0100 |
commit | 95c9314232bdebbff89f81ca3ab721e230290cec (patch) | |
tree | 7068a64c856ad5f655b4b12501c43b8a4711edcc /hm/soispha/conf/yambar | |
parent | chore(version): v1.25.0 (diff) | |
download | nixos-config-95c9314232bdebbff89f81ca3ab721e230290cec.zip |
build(treewide): Update flake and shell library
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/yambar/default.nix | 2 | ||||
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/disk | 2 | ||||
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/grades-average | 2 | ||||
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/mpd_song_name | 2 | ||||
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/network | 2 | ||||
-rwxr-xr-x | hm/soispha/conf/yambar/scripts/sound-volume | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/hm/soispha/conf/yambar/default.nix b/hm/soispha/conf/yambar/default.nix index f5f17b4a..67a77d8f 100644 --- a/hm/soispha/conf/yambar/default.nix +++ b/hm/soispha/conf/yambar/default.nix @@ -13,7 +13,7 @@ dependencies, ... }: - sysLib.writeShellScriptWithLibrary { + sysLib.writeShellScript { name = "${builtins.baseNameOf file}"; src = file; dependencies = dependencies ++ (builtins.attrValues {inherit (pkgs) dash;}); diff --git a/hm/soispha/conf/yambar/scripts/disk b/hm/soispha/conf/yambar/scripts/disk index 58754e3b..574d780b 100755 --- a/hm/soispha/conf/yambar/scripts/disk +++ b/hm/soispha/conf/yambar/scripts/disk @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH # Main loop while true; do diff --git a/hm/soispha/conf/yambar/scripts/grades-average b/hm/soispha/conf/yambar/scripts/grades-average index a3c9c9cd..aed61199 100755 --- a/hm/soispha/conf/yambar/scripts/grades-average +++ b/hm/soispha/conf/yambar/scripts/grades-average @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH while true; do grade="$(grades list average | awk '{print $2}')"; diff --git a/hm/soispha/conf/yambar/scripts/mpd_song_name b/hm/soispha/conf/yambar/scripts/mpd_song_name index 01bd1551..336192aa 100755 --- a/hm/soispha/conf/yambar/scripts/mpd_song_name +++ b/hm/soispha/conf/yambar/scripts/mpd_song_name @@ -1,7 +1,7 @@ #!/usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH while true; do diff --git a/hm/soispha/conf/yambar/scripts/network b/hm/soispha/conf/yambar/scripts/network index 6ab60ac0..14ba3907 100755 --- a/hm/soispha/conf/yambar/scripts/network +++ b/hm/soispha/conf/yambar/scripts/network @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH retest=120 retest_if_con_fails=10 diff --git a/hm/soispha/conf/yambar/scripts/sound-volume b/hm/soispha/conf/yambar/scripts/sound-volume index 0ada40b7..6b195887 100755 --- a/hm/soispha/conf/yambar/scripts/sound-volume +++ b/hm/soispha/conf/yambar/scripts/sound-volume @@ -1,7 +1,7 @@ #! /usr/bin/env dash # shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH +SHELL_LIBRARY_VERSION="2.0.9" . %SHELL_LIBRARY_PATH while true; do volume="$(pactl get-sink-volume 0 | awk 'BEGIN { FS="/" } {gsub("%","",$2); gsub(" ","",$2)} {printf $2}')" |