From 73e89ece549bad03d97326cc94e9ba59a762d298 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 25 Apr 2019 00:23:39 +0200 Subject: tv: add sxiv config module --- tv/2configs/xserver/default.nix | 2 +- tv/2configs/xserver/sxiv.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tv/2configs/xserver/sxiv.nix (limited to 'tv/2configs') diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix index 95198ff9e..012caff73 100644 --- a/tv/2configs/xserver/default.nix +++ b/tv/2configs/xserver/default.nix @@ -10,6 +10,7 @@ let in { imports = [ + ./sxiv.nix ./urxvt.nix ]; @@ -18,7 +19,6 @@ in { pkgs.font-size pkgs.gitAndTools.qgit pkgs.mpv - pkgs.sxiv pkgs.xdotool pkgs.xsel pkgs.zathura diff --git a/tv/2configs/xserver/sxiv.nix b/tv/2configs/xserver/sxiv.nix new file mode 100644 index 000000000..10e450da4 --- /dev/null +++ b/tv/2configs/xserver/sxiv.nix @@ -0,0 +1,12 @@ +with import ; +{ 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 + ]; +} -- cgit v1.2.3