mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: use wayland renderer for pycharm
This commit is contained in:
parent
e742d818c7
commit
d6ed184a0d
2 changed files with 16 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
{pkgsUnstable, ...}: {
|
{pkgsUnstable, ...}: {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgsUnstable.jetbrains.pycharm-professional
|
(pkgsUnstable.jetbrains.pycharm-professional.override {
|
||||||
|
vmopts = ''
|
||||||
|
-Dawt.toolkit.name=WLToolkit
|
||||||
|
'';
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -272,11 +272,22 @@ in {
|
||||||
"noanim, gtk4-layer-shell"
|
"noanim, gtk4-layer-shell"
|
||||||
];
|
];
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
|
# Screenshots
|
||||||
"float,class:^(com.gabm.satty)$"
|
"float,class:^(com.gabm.satty)$"
|
||||||
"dimaround,class:^(com.gabm.satty)$"
|
"dimaround,class:^(com.gabm.satty)$"
|
||||||
|
|
||||||
|
# Firefox
|
||||||
"float,class:^(firefox)$,title:^(Picture-in-Picture)$"
|
"float,class:^(firefox)$,title:^(Picture-in-Picture)$"
|
||||||
"float,class:^(firefox)$,title:^(Library)$"
|
"float,class:^(firefox)$,title:^(Library)$"
|
||||||
|
|
||||||
|
# JetBrains
|
||||||
|
"center,class:^(jetbrains-.*)$,title:^$,floating:1"
|
||||||
|
"noinitialfocus,class:^(jetbrains-.*)$,title:^$,floating:1"
|
||||||
|
"noanim,class:^(jetbrains-.*)$,title:^$,floating:1"
|
||||||
|
|
||||||
|
"center,class:^(jetbrains-.*)$,title:^(splash)$,floating:1"
|
||||||
|
"nofocus,class:^(jetbrains-.*)$,title:^(splash)$,floating:1"
|
||||||
|
"noborder,class:^(jetbrains-.*)$,title:^(splash)$,floating:1"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue