summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-25 00:23:39 +0200
committertv <tv@krebsco.de>2019-04-25 00:23:39 +0200
commitcddb45988722fc75330eba57fabb0814d921d842 (patch)
tree0a8361267dbe3864dae5a3ba7f91937d6c6deee1 /tv/2configs
parent6213adeb7187be3ddeb76b3d49aee4b2363d9468 (diff)
tv: add sxiv config module
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xserver/default.nix2
-rw-r--r--tv/2configs/xserver/sxiv.nix12
2 files changed, 13 insertions, 1 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index 95198ff..012caff 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 0000000..10e450d
--- /dev/null
+++ b/tv/2configs/xserver/sxiv.nix
@@ -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
+ ];
+}