Remove kanshi, more trouble than help...

This commit is contained in:
Evie Litherland-Smith 2023-07-20 07:21:22 +01:00
parent aa21c03b75
commit 39b38c8d8e
2 changed files with 0 additions and 41 deletions

View file

@ -20,7 +20,6 @@ update:
hyprland:
-hyprctl reload
-pkill -1 kanshi
waybar:
-pkill -9 waybar

View file

@ -30,46 +30,6 @@ in {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
services.kanshi = {
enable = true;
systemdTarget = "hyprland-session.target";
profiles = let
restart_hyprpaper = "pkill hyprpaper; ${pkgs.hyprland}/bin/hyprctl dispatch exec hyprpaper";
in {
undocked = {
outputs = [
{
criteria = "eDP-1";
status = "enable";
}
];
exec = [
restart_hyprpaper
"rfkill unblock wlan"
];
};
docked = {
outputs = [
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "Iiyama North America PLB2403WS 0574281251316";
status = "enable";
}
{
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
status = "enable";
}
];
exec = [
restart_hyprpaper
"rfkill block wlan"
];
};
};
};
xdg.configFile."hypr/display.conf".text = ''
monitor=eDP-1,preferred,auto,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1