1

Modules/Hyprland: Add option to control hyprpanel autostart

This commit is contained in:
2025-11-14 14:20:52 +01:00
parent 428b96ff07
commit 13aec0311a
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
}: }:
builtins.concatLists [ builtins.concatLists [
(lib.optionals hyprland.dunst.enable ["dunst"]) # Notifications (lib.optionals hyprland.dunst.enable ["dunst"]) # Notifications
(lib.optionals hyprland.hyprpanel.enable ["hyprpanel"]) # Panel
[ [
# Start clipboard management # Start clipboard management
"wl-paste -t text --watch clipman store --no-persist" "wl-paste -t text --watch clipman store --no-persist"
@ -13,7 +14,6 @@ builtins.concatLists [
"hyprctl setcursor ${config.home.pointerCursor.name} ${builtins.toString config.home.pointerCursor.size}" "hyprctl setcursor ${config.home.pointerCursor.name} ${builtins.toString config.home.pointerCursor.size}"
"hyprsunset --identity" "hyprsunset --identity"
"hyprpanel"
# HACK: Hyprland doesn't set the xwayland/x11 keymap correctly # HACK: Hyprland doesn't set the xwayland/x11 keymap correctly
"setxkbmap -layout ${hyprland.keyboard.layout} -variant ${hyprland.keyboard.variant} -option ${hyprland.keyboard.option} -model pc104" "setxkbmap -layout ${hyprland.keyboard.layout} -variant ${hyprland.keyboard.variant} -option ${hyprland.keyboard.option} -model pc104"

View File

@ -10,6 +10,7 @@
dynamicCursor.enable = lib.mkEnableOption "Enable dynamic cursors"; dynamicCursor.enable = lib.mkEnableOption "Enable dynamic cursors";
trails.enable = lib.mkEnableOption "Enable dynamic window trails"; trails.enable = lib.mkEnableOption "Enable dynamic window trails";
hyprspace.enable = lib.mkEnableOption "Enable hyprspace workspace overview"; hyprspace.enable = lib.mkEnableOption "Enable hyprspace workspace overview";
hyprpanel.enable = lib.mkEnableOption "Enable hyprpanel";
keyboard = { keyboard = {
layout = lib.mkOption { layout = lib.mkOption {