aboutsummaryrefslogtreecommitdiff
path: root/gui/apps
diff options
context:
space:
mode:
Diffstat (limited to 'gui/apps')
-rw-r--r--gui/apps/file.nix9
-rw-r--r--gui/apps/sxiv.nix10
2 files changed, 8 insertions, 11 deletions
diff --git a/gui/apps/file.nix b/gui/apps/file.nix
index d52cfc3..7fa1f64 100644
--- a/gui/apps/file.nix
+++ b/gui/apps/file.nix
@@ -3,7 +3,7 @@
{
home = {
packages = let
- custom-sxiv = import ./sxiv.nix pkgs;
+ custom-sxiv = pkgs.callPackage ../pkgs/sxiv.nix { };
in with pkgs; [
# browser
pcmanfm
@@ -41,4 +41,11 @@
XDG_DOWNLOAD_DIR="$HOME/downloads/"
'';
};
+
+# sxiv config
+ xresources.extraConfig = ''
+ Sxiv.font: Iosevka:size=12
+ Sxiv.foreground: #909636
+ Sxiv.background: #161616
+ '';
}
diff --git a/gui/apps/sxiv.nix b/gui/apps/sxiv.nix
deleted file mode 100644
index 48390dc..0000000
--- a/gui/apps/sxiv.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ pkgs, ... }:
-
-pkgs.callPackage ../pkgs/sxiv.nix {
- theme = {
- font_name = "Iosevka";
- font_size = "12";
- bg = "#161616";
- fg = "#909636";
- };
-}