mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-08-14 18:40:35 +03:00
fix: 🐛 do not tile utility windows on wayland
This commit is contained in:
parent
aa053694aa
commit
935a33820b
@ -62,7 +62,7 @@
|
||||
|
||||
<entry name="ignoreClass" type="String">
|
||||
<label>Ignore windows with certain classes(comma-separated list)</label>
|
||||
<default>krunner,yakuake,spectacle,kded5,Conky</default>
|
||||
<default>yakuake,spectacle,Conky</default>
|
||||
</entry>
|
||||
|
||||
<entry name="ignoreRole" type="String">
|
||||
|
@ -238,10 +238,7 @@ export class ConfigImpl implements Config {
|
||||
this.kwinApi.KWin.readConfig("ignoreActivity", "")
|
||||
);
|
||||
this.ignoreClass = commaSeparate(
|
||||
this.kwinApi.KWin.readConfig(
|
||||
"ignoreClass",
|
||||
"krunner,yakuake,spectacle,kded5,Conky"
|
||||
)
|
||||
this.kwinApi.KWin.readConfig("ignoreClass", "yakuake,spectacle,Conky")
|
||||
);
|
||||
this.ignoreRole = commaSeparate(
|
||||
this.kwinApi.KWin.readConfig("ignoreRole", "quake")
|
||||
|
@ -55,6 +55,9 @@ export class KWinWindow implements DriverWindow {
|
||||
return (
|
||||
this.client.specialWindow ||
|
||||
resourceClass === "plasmashell" ||
|
||||
resourceClass === "org.kde.plasmashell" ||
|
||||
resourceClass === "krunner" ||
|
||||
resourceClass === "kded5" ||
|
||||
this.config.ignoreClass.indexOf(resourceClass) >= 0 ||
|
||||
this.config.ignoreClass.indexOf(resourceName) >= 0 ||
|
||||
matchWords(this.client.caption, this.config.ignoreTitle) >= 0 ||
|
||||
|
Loading…
Reference in New Issue
Block a user