From 8c6b621d79b196aec90d6058384f7dfb2948b07c Mon Sep 17 00:00:00 2001 From: itamar Date: Thu, 16 Apr 2026 19:18:00 +0300 Subject: [PATCH] wallpaper :D --- navi/configuration.nix | 7 +++++- navi/navi/i3.nix | 55 +++++++++++++++++++++++++----------------- navi/navi/packages.nix | 1 + 3 files changed, 40 insertions(+), 23 deletions(-) diff --git a/navi/configuration.nix b/navi/configuration.nix index 0799862..1082f71 100644 --- a/navi/configuration.nix +++ b/navi/configuration.nix @@ -34,7 +34,12 @@ LC_TELEPHONE = "he_IL.UTF-8"; LC_TIME = "he_IL.UTF-8"; }; - + programs.dconf.enable = true; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; # optional but nice + pinentryPackage = pkgs.pinentry-curses; + }; services.xserver.enable = true; services.xserver.displayManager.lightdm.enable = true; services.xserver.desktopManager.xfce.enable = false; diff --git a/navi/navi/i3.nix b/navi/navi/i3.nix index 7dc1032..0288341 100644 --- a/navi/navi/i3.nix +++ b/navi/navi/i3.nix @@ -1,40 +1,51 @@ { pkgs, lib, ... }: -let +let mod = "Mod4"; in { - # home.pointerCursor = { - # package = pkgs.gnome.adwaita-icon-theme; - # name = "Adwaita"; - # size = 24; - # x11.enable = true; - # gtk.enable = true; - # }; + # Make sure feh is available + home.packages = with pkgs; [ + feh + xclip + ]; xsession = { enable = true; + windowManager.i3 = { enable = true; + config = { modifier = mod; - fonts = ["ibm3270"]; + fonts = [ "ibm3270" ]; + + # ✅ Wallpaper + startup = [ + { + command = "feh --bg-scale /home/star/Pictures/wp.png"; + always = true; + } + ]; + keybindings = lib.mkOptionDefault { - "Mod1+1" = "exec mullvad-browser"; - "Mod1+2" = "exec discord"; - "${mod}+Shift+s" = "exec ${pkgs.maim}/bin/maim -s | xclip -selection clipboard -t image/png"; + "Mod1+1" = "exec mullvad-browser"; + "Mod1+2" = "exec discord"; - # Focus - "${mod}+h" = "focus left"; - "${mod}+j" = "focus down"; - "${mod}+k" = "focus up"; - "${mod}+l" = "focus right"; + "${mod}+Shift+s" = + "exec ${pkgs.maim}/bin/maim -s | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png"; - # Move - "${mod}+Shift+h" = "move left"; - "${mod}+Shift+j" = "move down"; - "${mod}+Shift+k" = "move up"; - "${mod}+Shift+l" = "move right"; + # Focus + "${mod}+h" = "focus left"; + "${mod}+j" = "focus down"; + "${mod}+k" = "focus up"; + "${mod}+l" = "focus right"; + + # Move + "${mod}+Shift+h" = "move left"; + "${mod}+Shift+j" = "move down"; + "${mod}+Shift+k" = "move up"; + "${mod}+Shift+l" = "move right"; }; }; }; diff --git a/navi/navi/packages.nix b/navi/navi/packages.nix index 42c65e1..bbc3ec4 100644 --- a/navi/navi/packages.nix +++ b/navi/navi/packages.nix @@ -12,6 +12,7 @@ # tdesktop # killall xclip + feh maim calc # htop