refactor: hyprpanel

This commit is contained in:
fabricsoul 2025-02-25 17:34:04 -05:00
parent 4f012f6aad
commit 1acc74fdf6
5 changed files with 3 additions and 1000 deletions

View file

@ -71,62 +71,6 @@
libresprite
];
# Wayland settings for hyprpanel
wayland.windowManager.hyprland.settings = {
exec-once = [
"${pkgs.hyprpanel}/bin/hyprpanel"
];
};
programs.hyprpanel = {
# Enable the module.
enable = true;
# Add to Hyprland config
hyprland.enable = true;
# Fix the overwrite issue
overwrite.enable = false;
# Import a theme
theme = "rose_pine_moon_split";
# Configure bar layouts for monitors
layout = {
"bar.layouts" = {
"0" = {
left = ["dashboard" "workspaces" "windowtitle"];
middle = ["clock"];
right = ["volume" "network" "bluetooth" "systray" "media" "notifications"];
};
};
};
# Configure and theme options
settings = {
bar.launcher.autoDetectIcon = true;
bar.workspaces.show_icons = true;
menus.clock = {
time = {
military = true;
hideSeconds = false;
};
weather.unit = "metric";
};
menus.dashboard.directories.enabled = false;
menus.dashboard.stats.enable_gpu = true;
theme.bar.transparent = false;
theme.font = {
name = "CaskaydiaCove NF";
size = "16px";
};
};
};
# Enable home-manager
programs.home-manager.enable = true;

View file

@ -2,17 +2,17 @@
{
config,
pkgs,
lib,
hyprpanel,
...
}: {
# Wayland settings for hyprpanel
wayland.windowManager.hyprland.settings = {
exec-once = [
"${pkgs.hyprpanel}/bin/hyprpanel"
];
};
# Changed from 'programs.hyprpanel' to just 'hyprpanel'
hyprpanel = {
programs.hyprpanel = {
# Enable the module.
enable = true;