refactor(hyprland): remove unused blur option
This commit is contained in:
@@ -21,13 +21,7 @@ let
|
|||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.desktop.session.hyprland = {
|
options.modules.desktop.session.hyprland.enable = lib.mkEnableOption "the Hyprland compositor";
|
||||||
enable = lib.mkEnableOption "the Hyprland compositor";
|
|
||||||
|
|
||||||
blur = lib.mkEnableOption ''
|
|
||||||
window blur. Off by default as the single biggest battery cost on a
|
|
||||||
laptop, left on for a host with the headroom to spend it'';
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# This program integration owns the session, portals, and polkit, launched
|
# This program integration owns the session, portals, and polkit, launched
|
||||||
@@ -130,7 +124,6 @@ in
|
|||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 6;
|
rounding = 6;
|
||||||
blur.enabled = cfg.blur;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# XWayland clients render at the panel's native resolution instead of
|
# XWayland clients render at the panel's native resolution instead of
|
||||||
|
|||||||
Reference in New Issue
Block a user