tv: add sxiv config module

This commit is contained in:
tv 2019-04-25 00:23:39 +02:00
parent 542d290543
commit 73e89ece54
2 changed files with 13 additions and 1 deletions

View File

@ -10,6 +10,7 @@ let
in { in {
imports = [ imports = [
./sxiv.nix
./urxvt.nix ./urxvt.nix
]; ];
@ -18,7 +19,6 @@ in {
pkgs.font-size pkgs.font-size
pkgs.gitAndTools.qgit pkgs.gitAndTools.qgit
pkgs.mpv pkgs.mpv
pkgs.sxiv
pkgs.xdotool pkgs.xdotool
pkgs.xsel pkgs.xsel
pkgs.zathura pkgs.zathura

View File

@ -0,0 +1,12 @@
with import <stockholm/lib>;
{ config, pkgs, ... }: let
cfg.user = config.krebs.build.user;
in {
tv.Xresources = {
"Sxiv.foreground" = "#232323";
"Sxiv.background" = "#424242";
};
users.users.${cfg.user.name}.packages = [
pkgs.sxiv
];
}