From d20393e077b8d97b18f4a224ddcb20caf6dac23b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 10 Sep 2025 15:57:26 +0200 Subject: ... --- accounts/gkleen@sif/niri/swayosd.nix | 66 ------------------------------------ 1 file changed, 66 deletions(-) delete mode 100644 accounts/gkleen@sif/niri/swayosd.nix (limited to 'accounts/gkleen@sif/niri/swayosd.nix') diff --git a/accounts/gkleen@sif/niri/swayosd.nix b/accounts/gkleen@sif/niri/swayosd.nix deleted file mode 100644 index 54ebb302..00000000 --- a/accounts/gkleen@sif/niri/swayosd.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ pkgs, ... }: -{ - config = { - services.swayosd = { - enable = true; - topMargin = 0.4769706078; - stylePath = pkgs.runCommand "style.css" { - passAsFile = [ "src" ]; - src = '' - window#osd { - padding: 12px 20px; - border-radius: 999px; - border: none; - background: rgba(0, 0, 0, 0.87); - - #container { - margin: 16px; - } - - image, - label { - color: rgb(255, 255, 255); - - &:disabled { - opacity: 1; - color: rgb(84, 84, 84); - } - } - - progressbar { - min-height: 6px; - border-radius: 999px; - background: transparent; - border: none; - - trough, progress { - min-height: inherit; - border-radius: inherit; - border: none; - } - - trough { - background: rgb(127, 127, 127); - } - progress { - background: rgb(255, 255, 255); - } - - &:disabled { - opacity: 1; - - trough { - background: rgb(19, 19, 19); - } - progress { - background: rgb(38, 38, 38); - } - } - } - } - ''; - buildInputs = with pkgs; [sass]; - } "scss -C --sourcemap=none --style=compact $srcPath $out"; - }; - }; -} -- cgit v1.2.3