diff --git a/modules/home/environment/hyprland/config.nix b/modules/home/environment/hyprland/config.nix index a3a3c27..bfec92e 100644 --- a/modules/home/environment/hyprland/config.nix +++ b/modules/home/environment/hyprland/config.nix @@ -49,7 +49,7 @@ in "4,persistent=true,monitor:eDP-1" ]; - layerrule = ["blur,waybar" "blur,launcher"]; + layerrule = ["blur,waybar" "ignorezero,waybar" "blur,launcher"]; input = { kb_layout = "us"; @@ -58,7 +58,6 @@ in force_no_accel = 1; sensitivity = 0; }; - general = { "$mainMod" = "super"; layout = "dwindle"; @@ -111,6 +110,7 @@ in brightness = 1; contrast = 1.400; ignore_opacity = true; + popups = true; noise = 0; new_optimizations = true; xray = true; diff --git a/modules/home/scripts/nix/chscheme.nix b/modules/home/scripts/nix/chscheme.nix index 9a99452..012f9ac 100644 --- a/modules/home/scripts/nix/chscheme.nix +++ b/modules/home/scripts/nix/chscheme.nix @@ -13,8 +13,8 @@ pkgs.writeShellScriptBin "chscheme" '' b=$((16#''${clean_value:4:2})); \ printf "\033[48;2;%d;%d;%dm %-20s %s \033[0m\n" $r $g $b $key $clean_value; \ fi; \ - done' | xargs -I {} sed -i '/base16scheme \=/s/\".*\"/\"{}\"/' "$HOME"/.sysflake/flake.nix && \ - [[ $? -ne 0 ]] && echo "Aborting color scheme change." && exit 0 + done' | xargs -I {} sed -i '/base16scheme \=/s/\".*\"/\"{}\"/' "$HOME"/.sysflake/flake.nix \ + [ $? -ne 0 ] && echo "Aborting color scheme change." && exit 0 echo "Successfully changed system color scheme. Rebuild now?" && \ select choice in "Yes" "No"; do case $choice in