remove kanshi and let hyprland do all the display stuff

This commit is contained in:
Adithya 2024-12-07 14:20:46 +05:30
parent fba9d77668
commit 02f26e10a5
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 3 additions and 88 deletions

View file

@ -7,7 +7,6 @@
./waybar ./waybar
./auth-agent.nix ./auth-agent.nix
./hypridle.nix ./hypridle.nix
./kanshi.nix
./wpaperd.nix ./wpaperd.nix
]; ];
} }

View file

@ -1,80 +0,0 @@
_: {
services.kanshi = {
enable = true;
systemdTarget = "graphical-session.target";
settings = [
{
profile = {
name = "undocked";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,0";
scale = 1.0;
}
];
};
}
{
profile = {
name = "docked_1";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-1";
transform = "normal";
position = "1536,0";
}
];
};
}
{
profile = {
name = "docked_2";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-2";
transform = "normal";
position = "1536,0";
}
];
};
}
{
profile = {
name = "docked_3";
outputs = [
{
criteria = "eDP-1";
transform = "normal";
mode = "1920x1080";
position = "0,216";
scale = 1.25;
}
{
criteria = "DP-3";
transform = "normal";
position = "1536,0";
}
];
};
}
];
};
}

View file

@ -1,8 +1,4 @@
{ config { config, pkgs, lib, ... }:
, pkgs
, lib
, ...
}:
let let
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
firefox = "${config.programs.firefox.finalPackage}/bin/firefox"; firefox = "${config.programs.firefox.finalPackage}/bin/firefox";
@ -71,8 +67,8 @@ in
}; };
monitor = [ monitor = [
"eDP-1, 1920x1080, 0x0, 1" "eDP-1, preferred, 0x0, auto"
", preferred, auto, 1" ", preferred, auto-right, auto"
]; ];
input = { input = {