diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-11 18:17:18 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-11 18:17:18 -0700 |
| commit | 27f0c1298f8278bea690b8f5c0dde7bdcf833f2f (patch) | |
| tree | 5911a1509b3c7cdd2ffba5078a90cf3e16828f23 /home.nix | |
| parent | d0d01097a92c1211eeeac95bc79b3571167a738f (diff) | |
Add EWW music widget
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -51,8 +51,6 @@ ".local/share/Anki2" ".local/share/lutris" ".local/share/PrismLauncher" - - ".config/eww" ]; files = [ ".Xresources" @@ -75,6 +73,16 @@ home.packages = with pkgs; [ eww + (writeShellScriptBin "eww-toggle"'' + #!/usr/bin/env bash + + if ${pkgs.eww}/bin/eww active-windows | grep $1; then + ${pkgs.eww}/bin/eww close $1 + else + ${pkgs.eww}/bin/eww open $1 + fi + '') + pfetch kdePackages.breeze |