Disable battery module on polaris

This commit is contained in:
2025-11-30 21:39:12 +01:00
parent f2f044eebe
commit 43e161db0e
3 changed files with 9 additions and 5 deletions

View File

@@ -6,6 +6,8 @@ in
config.var = { config.var = {
hostname = "altair"; hostname = "altair";
has_battery = true;
hyprsunset.temperature = 2000; hyprsunset.temperature = 2000;
hyprland = { hyprland = {

View File

@@ -7,6 +7,8 @@ in
config.var = { config.var = {
hostname = "polaris"; hostname = "polaris";
has_battery = false;
hyprsunset.temperature = 3500; hyprsunset.temperature = 3500;
hyprland = { hyprland = {

View File

@@ -1,6 +1,6 @@
# Hyprpanel is the bar on top of the screen # Hyprpanel is the bar on top of the screen
# Display information like workspaces, battery, wifi, ... # Display information like workspaces, battery, wifi, ...
{ config, ... }: { config, lib, ... }:
let let
transparentButtons = config.theme.bar.transparentButtons; transparentButtons = config.theme.bar.transparentButtons;
@@ -46,11 +46,11 @@ in
middle = [ middle = [
"media" "media"
]; ];
right = [ right = lib.flatten [
"systray" "systray"
"volume" "volume"
"bluetooth" "bluetooth"
"battery" (lib.optional config.var.has_battery "battery")
"network" "network"
"clock" "clock"
"notifications" "notifications"