From ece5e89a84aced2de30236acfbe412293671b948 Mon Sep 17 00:00:00 2001 From: cnst Date: Sun, 26 Oct 2025 00:31:45 +0200 Subject: [PATCH] feat(hyprlock): visuals --- modules/home/programs/hyprlock/default.nix | 11 +++++++---- modules/home/programs/waybar/config/config.jsonc | 14 +++++++++++--- modules/home/programs/waybar/config/style.css | 6 +++--- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/modules/home/programs/hyprlock/default.nix b/modules/home/programs/hyprlock/default.nix index cfe796f3..e33a7f47 100644 --- a/modules/home/programs/hyprlock/default.nix +++ b/modules/home/programs/hyprlock/default.nix @@ -3,13 +3,15 @@ osConfig, clib, ... -}: let +}: +let inherit (lib) mkIf; cfg = osConfig.nixos.programs.hyprland; bg = osConfig.settings.theme.background; inherit (clib.theme.bgs) resolve; -in { +in +{ config = mkIf cfg.enable { programs.hyprlock = { enable = true; @@ -52,6 +54,7 @@ in { position = "0, 20"; halign = "center"; valign = "center"; + font_family = "DepartureMono Nerd Font Mono Italic"; } ]; label = [ @@ -63,7 +66,7 @@ in { shadow_boost = 0.5; color = "rgba(FFFFFFFF)"; font_size = 25; - font_family = "Input Mono Compressed"; + font_family = "DepartureMono Nerd Font Mono Regular"; position = "0, 230"; halign = "center"; valign = "center"; @@ -76,7 +79,7 @@ in { shadow_boost = 0.5; color = "rgba(FFFFFFFF)"; font_size = 85; - font_family = "Input Mono Compressed"; + font_family = "DepartureMono Nerd Font Mono Regular"; position = "0, 300"; halign = "center"; valign = "center"; diff --git a/modules/home/programs/waybar/config/config.jsonc b/modules/home/programs/waybar/config/config.jsonc index 3b88d857..0fa9bd96 100644 --- a/modules/home/programs/waybar/config/config.jsonc +++ b/modules/home/programs/waybar/config/config.jsonc @@ -131,15 +131,23 @@ "3": "3", "4": "4", "5": "5", - "active": "_", - "default": "_" + "6": "6", + "7": "7", + "8": "8", + "9": "9", + "default": "_", + "active": "_" }, "on-click": "activate", "show-special": false, "on-scroll-up": "hyprctl dispatch workspace r-1", "on-scroll-down": "hyprctl dispatch workspace r+1", "persistent-workspaces": { - "*": 3 + "1": [], + "2": [], + "3": [], + "4": [], + "5": [] } }, "niri/workspaces": { diff --git a/modules/home/programs/waybar/config/style.css b/modules/home/programs/waybar/config/style.css index 4283d810..c8c79aca 100644 --- a/modules/home/programs/waybar/config/style.css +++ b/modules/home/programs/waybar/config/style.css @@ -28,8 +28,8 @@ tooltip label { margin: 0 0px; background-color: transparent; color: #fbf1c7; - border-top: 2px solid transparent; - border-bottom: 2px solid transparent; + border-top: 4px solid transparent; + border-bottom: 4px solid transparent; } #workspaces button:hover { @@ -45,7 +45,7 @@ tooltip label { background-image: url("assets/button.svg"); background-position: center; background-repeat: no-repeat; - background-size: 24px 20px; + background-size: 21px 18px; } #custom-trayicon {