hyprpanel fixed

This commit is contained in:
Miguel Palhas
2025-09-25 09:57:55 +01:00
parent a0052892c8
commit d026c0c4fa
7 changed files with 59 additions and 174 deletions
+5 -28
View File
@@ -39,36 +39,13 @@
"size 800 600, class:bevy-.*"
"move 100%-800 100%-600, class:bevy-.*"
];
env = [
"GDK_SCALE, 1.5"
];
};
programs.hyprpanel.settings.layout = {
"bar.layouts" = {
"0" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"power"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
programs.hyprpanel.settings.bar.layouts = {
"0" = {
right = [
"battery"
];
};
};
@@ -5,7 +5,6 @@ in
{
imports = [
./rofi.nix
./dunst.nix
./cursor.nix
./hyprpanel.nix
];
+30 -9
View File
@@ -5,20 +5,41 @@
}:
{
# imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
home.packages = with pkgs; [ upower ];
programs.hyprpanel = {
# enable = true;
# overlay.enable = true;
# overwrite.enable = true;
enable = true;
settings = {
bar.layouts = {
"0" = {
left = [
"dashboard"
"workspaces"
];
middle = [ "media" ];
right = [
"volume"
"network"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
left = [ ];
middle = [ ];
right = [ ];
};
};
theme.bar.transparent = true;
theme.font = {
name = "Fira Code Nerd Font";
size = "14px";
theme.font.size = "18px";
menus = {
dashboard = {
directories.enable = false;
stats.enable_gpu = true;
};
};
};
};
+5 -24
View File
@@ -28,7 +28,6 @@
home.sessionVariables = {
LIBVA_DRIVER_NAME = "nvidia";
GDM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
};
@@ -55,29 +54,11 @@
};
programs.hyprpanel.settings.layout = {
"bar.layouts" = {
"0" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
programs.hyprpanel.settings.bar.layouts = {
"0" = {
right = [
"battery"
];
};
};