From 4db623a1361a503a096209971bb948d4ca582ce4 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sun, 12 Feb 2023 16:16:51 +0100 Subject: [PATCH] add imv for viewing images when using river --- home/desktop-river/default.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/home/desktop-river/default.nix b/home/desktop-river/default.nix index 4136498..078890a 100644 --- a/home/desktop-river/default.nix +++ b/home/desktop-river/default.nix @@ -1,20 +1,6 @@ { config, pkgs, ... }: -let - configure-gtk = let - schema = pkgs.gsettings-desktop-schemas; - datadir = "${schema}/share/gsettings-schemas/${schema.name}"; - gsettings = "${pkgs.glib}/bin/gsettings"; - in pkgs.writeScriptBin "configure-gtk" '' - #!${pkgs.dash}/bin/dash - - export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS - - ${gsettings} set org.gnome.desktop.interface gtk-theme 'gruvbox-dark' - ${gsettings} set org.gnome.desktop.interface icon-theme 'Papirus-Dark' - ${gsettings} set org.gnome.desktop.wm.preferences button-layout "" - ''; -in { +{ imports = [ ./bemenu.nix ./foot.nix @@ -28,9 +14,9 @@ in { ]; home.packages = with pkgs; [ - configure-gtk glib gsettings-desktop-schemas + imv kile-wl light pamixer