Refactor for wallpers, keybinds, add weeb tokyo-light theme

This commit is contained in:
Henry Sipp
2025-07-22 21:08:27 -05:00
parent e2d116c28a
commit 1fed2b5d59
14 changed files with 84 additions and 69 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ grep -h '^[[:space:]]*bind' "$USER_HYPRLAND_CONF" |
printf "%-35s → %s\n", key_combo, action;
}
}' |
flock --nonblock /tmp/.wofi.lock -c "wofi -dmenu -i --width 30% --height 40% -p 'Hyprland Keybindings' -O alphabetical"
flock --nonblock /tmp/.wofi.lock -c "wofi -dmenu -i --width 50% --height 40% -p 'Hyprland Keybindings' -O alphabetical"
+1
View File
@@ -11,6 +11,7 @@ lib: {
theme = lib.mkOption {
type = lib.types.enum [
"tokyo-night"
"tokyo-night-light"
"kanagawa"
"everforest"
"catppuccin"
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

+30
View File
@@ -0,0 +1,30 @@
config: let
cfg = config.omarchy;
wallpapers = {
"tokyo-night" = [
"1-Pawel-Czerwinski-Abstract-Purple-Blue.jpg"
];
"tokyo-night-light" = [
"tokyo-night-light-1.jpg"
];
"kanagawa" = [
"kanagawa-1.png"
];
"everforest" = [
"1-everforest.jpg"
];
"nord" = [
"nord-1.png"
];
"gruvbox" = [
"gruvbox-1.jpg"
];
"gruvbox-light" = [
"gruvbox-1.jpg"
];
};
selected_wallpaper = builtins.elemAt (wallpapers.${cfg.theme}) 0;
in {
wallpaper_path = "~/Pictures/Wallpapers/${selected_wallpaper}";
}
+1 -1
View File
@@ -20,7 +20,7 @@ in {
(import ./mako.nix)
(import ./starship.nix)
(import ./vscode.nix)
(import ./waybar.nix)
(import ./waybar.nix inputs)
(import ./wofi.nix)
(import ./zoxide.nix)
(import ./zsh.nix)
-1
View File
@@ -9,5 +9,4 @@ inputs: {
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
services.hyprpolkitagent.enable = true;
}
@@ -23,7 +23,6 @@ in {
"SUPER SHIFT CTRL, ESCAPE, exec, systemctl poweroff"
"SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-show-keybindings"
# Control tiling
"SUPER, J, togglesplit, # dwindle"
"SUPER, P, pseudo, # dwindle"
+5 -5
View File
@@ -4,8 +4,7 @@
pkgs,
osConfig ? {},
...
}:
let
}: let
cfg = config.omarchy;
hasNvidiaDrivers = builtins.elem "nvidia" osConfig.services.xserver.videoDrivers;
nvidiaEnv = [
@@ -13,11 +12,12 @@ let
"LIBVA_DRIVER_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
];
in
{
in {
wayland.windowManager.hyprland.settings = {
# Environment variables
env = (lib.optionals hasNvidiaDrivers nvidiaEnv) ++ [
env =
(lib.optionals hasNvidiaDrivers nvidiaEnv)
++ [
"GDK_SCALE,${toString cfg.scale}"
# Cursor size
@@ -40,6 +40,7 @@
layerrule = [
# Proper background blur for wofi
"blur,wofi"
"blur,waybar"
];
};
}
+4 -4
View File
@@ -6,6 +6,7 @@ inputs: {
}: let
palette = config.colorScheme.palette;
convert = inputs.nix-colors.lib.conversions.hexToRGBString;
selected_wallpaper_path = (import ../../lib/selected-wallpaper.nix config).wallpaper_path;
backgroundRgb = "rgba(${convert ", " palette.base00}, 0.8)";
surfaceRgb = "rgb(${convert ", " palette.base02})";
@@ -24,9 +25,9 @@ in {
};
background = {
monitor = "";
path = "screenshot";
blur_passes = 3;
brightness = 0.5;
path = selected_wallpaper_path;
# blur_passes = 3;
# brightness = 0.5;
};
input-field = {
@@ -45,7 +46,6 @@ in {
font_color = foregroundRgb;
placeholder_color = foregroundMutedRgb;
# placeholder_text = "Enter Password";
placeholder_text = "Enter Password 󰈷";
check_color = "rgba(131, 192, 146, 1.0)";
fail_text = "Wrong";
+1 -24
View File
@@ -3,30 +3,7 @@
pkgs,
...
}: let
cfg = config.omarchy;
wallpapers = {
"tokyo-night" = [
"1-Pawel-Czerwinski-Abstract-Purple-Blue.jpg"
];
"kanagawa" = [
"kanagawa-1.png"
];
"everforest" = [
"1-everforest.jpg"
];
"nord" = [
"nord-1.png"
];
"gruvbox" = [
"gruvbox-1.jpg"
];
"gruvbox-light" = [
"gruvbox-1.jpg"
];
};
selected_wallpaper = builtins.elemAt (wallpapers.${cfg.theme}) 0;
selected_wallpaper_path = "~/Pictures/Wallpapers/${selected_wallpaper}";
selected_wallpaper_path = (import ../../lib/selected-wallpaper.nix config).wallpaper_path;
in {
home.file = {
"Pictures/Wallpapers" = {
+9 -3
View File
@@ -1,8 +1,13 @@
{
inputs: {
config,
pkgs,
...
}: {
}:
let
palette = config.colorScheme.palette;
convert = inputs.nix-colors.lib.conversions.hexToRGBString;
backgroundRgb = "rgba(${convert ", " palette.base00}, 0.25)";
in {
home.file = {
".config/waybar/" = {
source = ../../config/waybar;
@@ -12,7 +17,8 @@
text = ''
* {
color: #${config.colorScheme.palette.base05};
background-color: #${config.colorScheme.palette.base00};
background-color: ${backgroundRgb};
}
'';
};
-2
View File
@@ -3,12 +3,10 @@ inputs: {
pkgs,
...
}: {
programs.hyprland = {
enable = true;
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
}
+4
View File
@@ -3,6 +3,10 @@
base16-theme = "tokyo-night-dark";
vscode-theme = "Tokyo Night";
};
"tokyo-night-light" = {
base16-theme = "tokyo-night-light";
vscode-theme = "Tokyo Night Light";
};
"catppuccin-macchiato" = {
vscode-theme = "Catppuccin Macchiato";