Disable battery module on polaris
This commit is contained in:
@@ -6,6 +6,8 @@ in
|
|||||||
config.var = {
|
config.var = {
|
||||||
hostname = "altair";
|
hostname = "altair";
|
||||||
|
|
||||||
|
has_battery = true;
|
||||||
|
|
||||||
hyprsunset.temperature = 2000;
|
hyprsunset.temperature = 2000;
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ in
|
|||||||
config.var = {
|
config.var = {
|
||||||
hostname = "polaris";
|
hostname = "polaris";
|
||||||
|
|
||||||
|
has_battery = false;
|
||||||
|
|
||||||
hyprsunset.temperature = 3500;
|
hyprsunset.temperature = 3500;
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user