mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-04 01:00:22 -04:00
refactor: hyprpanel
This commit is contained in:
parent
4f012f6aad
commit
1acc74fdf6
5 changed files with 3 additions and 1000 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue