refactor(desktop): rework kanshi configurations

This commit is contained in:
Yorick Barbanneau 2025-09-26 22:18:20 +02:00
parent 0d8a394dcf
commit 70ec9d25a7
Signed by: ephase
GPG key ID: 246042E52B41FFCF
7 changed files with 104 additions and 65 deletions

View file

@ -29,7 +29,7 @@
accounts.dav.enable = true;
desktop.sway = {
enable = true;
kanshi = true;
kanshi.enable = true;
wallpapers.lockscreen = "${./files/lockscreen.png}";
wallpapers.desktop = "${./files/wallpaper.png} center #000000";
waybar = {

View file

@ -46,7 +46,20 @@
desktop.sway = {
enable = true;
wallpapers.lockscreen = "${./files/lockscreen.png}";
kanshi = true;
kanshi = {
enable = true;
standalone = {
profile.name = "standalone";
profile.outputs = [
{
criteria = "eDP-1";
scale = 1.325;
transform = "90";
status = "enable";
}
];
};
};
waybar = {
laptop = true;
gpuThermal.enable = false;

View file

@ -22,11 +22,5 @@
"pointer_accel" = "0.3";
};
};
wayland.windowManager.sway.config.output = {
"eDP-1" = {
transform = "90";
scale = "1.3";
};
};
sops.age.keyFile = "/home/ephase/.config/sops/age/keys.txt";
}

View file

@ -38,7 +38,7 @@
gaming.lutris.enable = false;
desktop.sway = {
enable = true;
kanshi = false;
kanshi.enable = false;
swaylock.useNullPackage = true;
wallpapers.lockscreen = "${./files/lockscreen.png}";
wallpapers.desktop = "${./files/background.png} fill #000000";

View file

@ -36,7 +36,28 @@
};
desktop.sway = {
enable = true;
kanshi = true;
kanshi = {
enable = true;
profiles = [
{
profile.name = "work";
profile.outputs = [
{
criteria = "Iiyama North America PL2792QN 1179214201663";
mode = "2560x1440";
position = "1450,0";
scale = 1.15;
}
{
criteria = "BOE 0x0A95 Unknown";
mode = "1920x1080";
position = "0,0";
scale = 1.325;
}
];
}
];
swaylock.useNullPackage = true;
waybar = {
laptop = true;