add idle inhibitor to waybar

This commit is contained in:
mjallen18
2025-07-01 08:28:51 -05:00
parent 9f2b10f47c
commit 42db510b8f
4 changed files with 36 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ in
};
};
chaotic.mesa-git.enable = true;
chaotic.mesa-git.enable = false;
# Environment configuration
environment = {

View File

@@ -256,6 +256,7 @@ in
"idleinhibit, tag:horizonrdp"
"float, tag:horizonrdp"
"size 2160 7680, tag:horizonrdp"
# "move onscreen 0 0, tag:horizonrdp"
# float the vmware window cause its annoying to use in fullscreen
"float, class:(.*[Vv][Mm]ware-view),title:([Vv][Mm]ware [Hh]orizon [Cc]lient)"
];
@@ -282,6 +283,10 @@ in
experimental = {
xx_color_management_v4 = true;
};
debug = {
full_cm_proto = true;
};
};
extraConfig = ''

View File

@@ -57,6 +57,7 @@ in
"wireplumber#sink"
"wireplumber#source"
"bluetooth"
"idle_inhibitor"
"clock"
"custom/weather"
];
@@ -203,6 +204,14 @@ in
tooltip-format-enumerate-connected = { };
};
idle_inhibitor = {
format = "{icon}";
format-icons = {
activated = "󰐂";
deactivated = "󱩜";
};
};
clock = {
format = "{:%I:%M %p}";
tooltip-format = "<tt><small>{calendar}</small></tt>";
@@ -312,11 +321,19 @@ in
/* ------------- */
#idle_inhibitor {
color: ${settings.nord.frost.nord10};
background-color: ${settings.nord.polarNight.nord0};
${defaultOpacity}
${borderRight}
}
#bluetooth {
color: ${settings.nord.frost.nord9};
background-color: ${settings.nord.polarNight.nord0};
${defaultOpacity}
${borderRight}
${defaultCenterOptions}
border-radius: 0;
}
#wireplumber.source {

View File

@@ -31,13 +31,19 @@ in
};
}; # "gamescope -f -H 2160 -W 3840 -r 240 --adaptive-sync --hdr-enabled
programs.alvr = {
enable = true;
openFirewall = true;
programs = {
alvr = {
enable = true;
openFirewall = true;
};
gamescope = {
enable = true;
capSysNice = true;
};
gamemode.enable = true;
};
programs.gamemode.enable = true;
# Hardware configs
hardware = {
# Xbox controllers