add imv for viewing images when using river

feat/kile-v2
Ricard Illa 2023-02-12 16:16:51 +01:00
parent 0bc5142a25
commit 4db623a136
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 2 additions and 16 deletions

View File

@ -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