Add battery to hyprpanel when on lappy.

This commit is contained in:
jay
2025-06-30 14:55:21 -04:00
parent f25bd93db4
commit 58de73bf6b

View File

@@ -1,6 +1,20 @@
{ config, pkgs, inputs, lib, ... }: { config, pkgs, inputs, lib, ... }:
{ {
programs.hyprpanel = {
settings = {
layout = {
"bar.layouts" = {
"0" = {
left = [ "dashboard" "separator" "microphone" "volume" "bluetooth" "separator" "network" "separator" "workspaces" "windowtitle" ];
middle = [ "media" "cava" ];
right = [ "netstat" "cpu" "cputemp" "ram" "storage" "separator" "systray" "notifications" "battery" "separator" "weather" "clock" ];
};
};
};
};
};
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
"monitor" = "eDP-1, 2880x1800@120, 0x0, 1"; "monitor" = "eDP-1, 2880x1800@120, 0x0, 1";