Inhibit idle when running a Steam game

This commit is contained in:
Evie Litherland-Smith 2024-06-07 16:06:28 +01:00
parent 0a9f7157fc
commit 3c51bc8803

View file

@ -80,7 +80,7 @@
border = 1;
titlebar = false;
commands =
map (criteria: {
(map (criteria: {
inherit criteria;
command = "floating enable";
}) [
@ -93,6 +93,12 @@
{class = "[Mm]atplotlib";}
{class = ".*\.py";}
{class = "Idl";}
])
++ [
{
criteria.class = "steam_app*";
command = "inhibit_idle focus";
}
];
};
floating.border = 1;