Remove kanshi, more trouble than help...
This commit is contained in:
parent
aa21c03b75
commit
39b38c8d8e
1
Makefile
1
Makefile
|
@ -20,7 +20,6 @@ update:
|
|||
|
||||
hyprland:
|
||||
-hyprctl reload
|
||||
-pkill -1 kanshi
|
||||
|
||||
waybar:
|
||||
-pkill -9 waybar
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue