Inhibit idle when running a Steam game
This commit is contained in:
parent
0a9f7157fc
commit
3c51bc8803
|
@ -80,19 +80,25 @@
|
||||||
border = 1;
|
border = 1;
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
commands =
|
commands =
|
||||||
map (criteria: {
|
(map (criteria: {
|
||||||
inherit criteria;
|
inherit criteria;
|
||||||
command = "floating enable";
|
command = "floating enable";
|
||||||
}) [
|
}) [
|
||||||
{app_id = "org.kde.polkit-kde-authentication-agent-1";}
|
{app_id = "org.kde.polkit-kde-authentication-agent-1";}
|
||||||
{app_id = "Pinentry";}
|
{app_id = "Pinentry";}
|
||||||
{app_id = "pavucontrol";}
|
{app_id = "pavucontrol";}
|
||||||
{app_id = "\.blueman-manager-wrapped";}
|
{app_id = "\.blueman-manager-wrapped";}
|
||||||
{app_id = "nm-connection-editor";}
|
{app_id = "nm-connection-editor";}
|
||||||
{app_id = "thunar";}
|
{app_id = "thunar";}
|
||||||
{class = "[Mm]atplotlib";}
|
{class = "[Mm]atplotlib";}
|
||||||
{class = ".*\.py";}
|
{class = ".*\.py";}
|
||||||
{class = "Idl";}
|
{class = "Idl";}
|
||||||
|
])
|
||||||
|
++ [
|
||||||
|
{
|
||||||
|
criteria.class = "steam_app*";
|
||||||
|
command = "inhibit_idle focus";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
floating.border = 1;
|
floating.border = 1;
|
||||||
|
|
Reference in a new issue