1
0
Эх сурвалжийг харах

Move background into nix-dots

Johan Rong 3 сар өмнө
parent
commit
87b68f5838

+ 10 - 0
home/features/desktop/sway/bg/default.nix

@@ -0,0 +1,10 @@
+{ pkgs, lib, ... }:
+
+{
+  home = {
+    file = {
+      ".config/sway/bg/reef.png".source = ./reef.png;
+      ".config/sway/bg/reef-2.png".source = ./reef-2.png;
+    };
+  };
+}

BIN
home/features/desktop/sway/bg/reef-2.png


BIN
home/features/desktop/sway/bg/reef.png


+ 1 - 0
home/features/desktop/sway/default.nix

@@ -5,6 +5,7 @@
     ./sway.nix
     ./scripts.nix
 
+    ./bg
     ./ui/eww
     ./ui/wofi
     ./ui/waybar

+ 1 - 1
home/features/desktop/sway/sway.nix

@@ -248,7 +248,7 @@ in
       #  -b "Exit" "swaymsg exit" \
       #  -b "Reboot" "reboot"
 
-      exec swaybg -i "$HOME/Pictures/Backgrounds/reef-1920x1080-2.png" -m fill
+      exec swaybg -i "$HOME/.config/sway/bg/reef-2.png" -m fill
 
       input * xkb_options compose:rctrl
 

+ 1 - 1
home/features/desktop/sway/ui/wofi/default.nix

@@ -18,7 +18,7 @@
       prompt = "drun";
       show = "drun";
       insensitive = true;
-      matching = "fuzzy";
+      matching = "multi-contains";
     };
   };
 }