From 2c7c6681912d1475ff02b3419d62ad35f2b5b65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Fri, 5 Aug 2022 23:35:01 -0600 Subject: [PATCH] =?UTF-8?q?arregla=20default=20app=20para=20PDFs,=20a?= =?UTF-8?q?=C3=B1ade=20wallpaper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/desktop/default.nix | 2 +- home/desktop/i3.nix | 5 +++++ home/zshrc.nix | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 977ae15..6b72197 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -19,7 +19,7 @@ xdg.mimeApps = { enable = true; defaultApplications = { - "application/pdf" = [ "okular.desktop" ]; + "application/pdf" = [ "org.kde.okular.desktop" ]; "application/x-extension-htm" = [ "firefox.desktop" ]; "application/x-extension-html" = [ "firefox.desktop" ]; "application/x-extension-shtml" = [ "firefox.desktop" ]; diff --git a/home/desktop/i3.nix b/home/desktop/i3.nix index 94e1ee4..48907da 100644 --- a/home/desktop/i3.nix +++ b/home/desktop/i3.nix @@ -52,6 +52,11 @@ notification = false; always = true; } + { + command = "${pkgs.feh}/bin/feh --bg-scale ${config.home.homeDirectory}/Pictures/wallpapers/carina_jwst.jpg"; + notification = false; + always = true; + } { command = "${pkgs.i3-gaps}/bin/i3-msg 'workspace $ws1; exec ${pkgs.firefox}/bin/firefox'"; } diff --git a/home/zshrc.nix b/home/zshrc.nix index a65840f..8b9f9dd 100644 --- a/home/zshrc.nix +++ b/home/zshrc.nix @@ -119,4 +119,5 @@ export EDITOR=nvim export VISUAL=nvim export PATH="$PATH:$HOME/.local/bin:$HOME/.cargo/bin" + export NIXPKGS_ALLOW_UNFREE=1 ''