Add kanshi config for laptop
Add workspace rule back for teams client
This commit is contained in:
parent
0d2a38f9a7
commit
0788da99d8
|
@ -152,7 +152,8 @@ windowrule = workspace 4,(Zotero)
|
||||||
windowrule = workspace 5 silent,(Signal)
|
windowrule = workspace 5 silent,(Signal)
|
||||||
windowrule = workspace 5 silent,(fractal)
|
windowrule = workspace 5 silent,(fractal)
|
||||||
windowrule = workspace 5 silent,(discord)
|
windowrule = workspace 5 silent,(discord)
|
||||||
windowrule = workspace 6 silent,(Nxplayer.bin)
|
windowrule = workspace 5 silent,(teams-for-linux)
|
||||||
|
windowrule = workspace 6,(Nxplayer.bin)
|
||||||
windowrule = workspace 7,^(steam).*
|
windowrule = workspace 7,^(steam).*
|
||||||
windowrule = workspace 7,(.gamescope-wrapped)
|
windowrule = workspace 7,(.gamescope-wrapped)
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,41 @@ in {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
neovim.package = pkgs.neovim-nightly;
|
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 = "*";
|
||||||
|
status = "enable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
exec = [restart_hyprpaper];
|
||||||
|
};
|
||||||
|
docked = {
|
||||||
|
outputs = [
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
exec = [restart_hyprpaper];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
xdg.configFile."hypr/display.conf".text = ''
|
xdg.configFile."hypr/display.conf".text = ''
|
||||||
|
monitor=eDP-1,1920x1080@60,auto,1.25
|
||||||
monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1
|
||||||
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1
|
||||||
monitor=eDP-1,1920x1080@60,640x1385,1.25
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue