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 configuration
environment = { environment = {

View File

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

View File

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

View File

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