added kanshi to manage displays
This commit is contained in:
parent
d3ef56c724
commit
5baff5a68e
1 changed files with 15 additions and 7 deletions
|
|
@ -14,19 +14,27 @@ in
|
||||||
{
|
{
|
||||||
imports = [ inputs.noctalia.homeModules.default ];
|
imports = [ inputs.noctalia.homeModules.default ];
|
||||||
|
|
||||||
|
services.kanshi = {
|
||||||
|
enable = true;
|
||||||
|
settings = [
|
||||||
|
{
|
||||||
|
profile.name = "default";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
|
criteria = "*";
|
||||||
|
scale = 1.0;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [ xwayland-satellite ];
|
packages = with pkgs; [ xwayland-satellite ];
|
||||||
sessionVariables.QT_QPA_PLATFORMTHEME = "gtk3";
|
sessionVariables.QT_QPA_PLATFORMTHEME = "gtk3";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."niri/config.kdl".text = ''
|
xdg.configFile."niri/config.kdl".text = ''
|
||||||
output "eDP-1" {
|
|
||||||
scale 1.0
|
|
||||||
}
|
|
||||||
output "DP-3" {
|
|
||||||
scale 1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue