new wallpaper, altered terminal transparency, added 'viconf', a command that will take a word as input and then find matching files in the sysflake folder to open in neovim

This commit is contained in:
pagedmov
2024-10-24 23:30:57 -04:00
parent 13bec3e858
commit cd70754f9f
8 changed files with 28 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

View File

@@ -41,7 +41,7 @@
} @ inputs: let } @ inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
username = "pagedmov"; username = "pagedmov";
wallpaper = "${self}/assets/wallpapers/nord-balloons.png"; wallpaper = "${self}/assets/wallpapers/sleeping.png";
base16scheme = "nord"; # can be easily changed with the chscheme script base16scheme = "nord"; # can be easily changed with the chscheme script
# Map colors from yaml to attribute set # Map colors from yaml to attribute set

View File

@@ -49,7 +49,7 @@ in
"4,persistent=true,monitor:eDP-1" "4,persistent=true,monitor:eDP-1"
]; ];
layerrule = "blur,waybar"; layerrule = ["blur,waybar" "blur,launcher"];
input = { input = {
kb_layout = "us"; kb_layout = "us";
@@ -107,7 +107,7 @@ in
# size = 1; # size = 1;
# passes = 1; # passes = 1;
size = 4; size = 4;
passes = 2; passes = 1;
brightness = 1; brightness = 1;
contrast = 1.400; contrast = 1.400;
ignore_opacity = true; ignore_opacity = true;

View File

@@ -1,4 +1,4 @@
{...}: { {lib, ...}: {
programs.fuzzel = { programs.fuzzel = {
enable = true; enable = true;
settings = { settings = {
@@ -17,6 +17,7 @@
radius = 15; radius = 15;
width = 3; width = 3;
}; };
colors.background = lib.mkForce "2e344080";
}; };
}; };
} }

View File

@@ -0,0 +1,17 @@
{
pkgs,
}:
pkgs.writeShellScriptBin "viconf" ''
#!/usr/bin/env bash
[ ! $# -eq 1 ] && echo "Usage: viconf <*.nix>" && exit 1
results=$(find "$FLAKEPATH" -name "*$1*" -exec find {} \; | sort | uniq | rg '\.nix$')
numresults=$(echo "$results" | wc -l)
[ "$numresults" -eq 0 ] && echo "$1 not found in \$FLAKEPATH" && exit 1
if [ "$numresults" -gt 1 ]; then
echo "$results" | tr ' ' '\n' | fzf | xargs -I {} nvim {}
else
nvim "$results"
fi
''

View File

@@ -85,6 +85,9 @@
host = host; host = host;
self = self; self = self;
pkgs = pkgs; pkgs = pkgs;
};
viconf = import ./commands/viconf.nix {
pkgs = pkgs;
}; };
chscheme = import ./nix/chscheme.nix { chscheme = import ./nix/chscheme.nix {
pkgs = pkgs; pkgs = pkgs;
@@ -113,5 +116,6 @@ in {
toggle_float toggle_float
toggle_oppacity toggle_oppacity
toggle_waybar toggle_waybar
viconf
]; ];
} }

View File

@@ -3,6 +3,5 @@ pkgs.writeShellScriptBin "hyprland" ''
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
exec Hyprland exec Hyprland
'' ''

View File

@@ -12,7 +12,7 @@
image = wallpaper; image = wallpaper;
polarity = "dark"; polarity = "dark";
autoEnable = true; autoEnable = true;
opacity.terminal = 0.5; opacity.terminal = 0.1;
targets = { targets = {
console.enable = true; console.enable = true;
feh.enable = true; feh.enable = true;
@@ -41,7 +41,7 @@
desktop = 10; desktop = 10;
applications = 14; applications = 14;
terminal = 14; terminal = 14;
popups = 12; popups = 16;
}; };
}; };
}; };