➕ (home/wayland) use kanshi for monitor management
This commit is contained in:
parent
3d150c620e
commit
27cbe6a8d7
|
@ -3,6 +3,7 @@
|
|||
./eww
|
||||
./fuzzel
|
||||
./hyprland
|
||||
./kanshi
|
||||
./mako
|
||||
./swayidle
|
||||
./swaylock
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=eDP-1,1920x1080@120,0x0,1
|
||||
monitor=DP-3,1920x1080@120,0x0,1
|
||||
monitor=eDP-1,1920x1200,0x1080,1
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
|
|
29
home/wayland/kanshi/default.nix
Normal file
29
home/wayland/kanshi/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{...}: {
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
systemdTarget = "hyprland-session.target";
|
||||
|
||||
profiles = {
|
||||
office = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "DP-3";
|
||||
status = "enable";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
home = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue