From da1108caa8ced80d4999b934432cb881e00b3672 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 20 Jul 2024 02:24:51 +0530 Subject: [PATCH] home: replace imv with swayimg --- home/programs/default.nix | 2 +- home/programs/imv.nix | 17 ----------------- home/wm/hyprland/default.nix | 6 +++--- 3 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 home/programs/imv.nix diff --git a/home/programs/default.nix b/home/programs/default.nix index a3e246b..6921473 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -11,7 +11,6 @@ ./git.nix ./gnupg.nix ./helix.nix - ./imv.nix ./kitty.nix ./mpv.nix ./neovim.nix @@ -43,6 +42,7 @@ spotify (steam.override { extraPkgs = p: [ p.gamemode p.gamescope p.mangohud ]; }) (steam.override { extraPkgs = p: [ p.gamemode p.gamescope p.mangohud ]; }).run + swayimg telegram-desktop transmission-remote-gtk wl-clipboard diff --git a/home/programs/imv.nix b/home/programs/imv.nix deleted file mode 100644 index 0696147..0000000 --- a/home/programs/imv.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, ... }: { - programs.imv = { - enable = true; - package = pkgs.imv.overrideAttrs (new: old: { - postInstall = old.postInstall + '' - rm $out/share/applications/imv.desktop - ''; - }); - settings = { - options = { - background = "282a36"; - overlay_background_color = "44475a"; - overlay_text_color = "f8f8f2"; - }; - }; - }; -} diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 4aa8b07..ab2787a 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -120,9 +120,9 @@ in "center,class:^(mpv)$" "dimaround,class:^(mpv)$" - "float,class:^(imv)$" - "size 90% 90%,class:^(imv)$" - "center,class:^(imv)$" + "float,class:^(swayimg_.*)$" + "size 90% 90%,class:^(swayimg_.*)$" + "center,class:^(swayimg_.*)$" "float,class:^(org.pwmt.zathura)$" "size 90% 90%,class:^(org.pwmt.zathura)$"