From 5314208b92d36be63450c630a1c91006ff560775 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Fri, 14 Feb 2025 17:11:09 +0500 Subject: [PATCH] feat: Waybar | add backlight widget --- flake.nix | 1 - home-manager/dotfiles/waybar/config.jsonc | 1 + home-manager/dotfiles/waybar/style.css | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 558d918..5d09d78 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,6 @@ "${user}" = inputs.home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ - inputs.nvf.homeManagerModules.default ./home-manager/home.nix ]; }; diff --git a/home-manager/dotfiles/waybar/config.jsonc b/home-manager/dotfiles/waybar/config.jsonc index d4cf1fb..0e778fa 100644 --- a/home-manager/dotfiles/waybar/config.jsonc +++ b/home-manager/dotfiles/waybar/config.jsonc @@ -14,6 +14,7 @@ ], "modules-right": [ "pulseaudio", + "backlight", "bluetooth", "network", "cpu", diff --git a/home-manager/dotfiles/waybar/style.css b/home-manager/dotfiles/waybar/style.css index 8d30166..4c46867 100644 --- a/home-manager/dotfiles/waybar/style.css +++ b/home-manager/dotfiles/waybar/style.css @@ -140,6 +140,11 @@ button:hover { border-bottom: 2px solid @sapphire; } +#backlight { + color: @sky; + border-bottom: 2px solid @sky; +} + #custom-vpn { color: @lavender; border-radius: 15px;