mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
kanshi
This commit is contained in:
parent
80c1f82fd6
commit
2a0849b294
3 changed files with 36 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
services = {
|
||||
blueman-applet.enable = true;
|
||||
network-manager-applet.enable = true;
|
||||
kanshi.systemdTarget = "hyprland-session.target";
|
||||
udiskie = {
|
||||
enable = true;
|
||||
tray = "auto";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
imports = [./mako];
|
||||
imports = [./mako ./kanshi];
|
||||
services = {
|
||||
network-manager-applet.enable = true;
|
||||
mpris-proxy.enable = true;
|
||||
|
|
|
|||
34
home/c/services/kanshi/default.nix
Normal file
34
home/c/services/kanshi/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{...}: {
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
settings = [
|
||||
{
|
||||
profile.name = "undocked";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "enable";
|
||||
scale = 1.0;
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "work";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "HP Inc. HP E27 G5 CNC33810R4";
|
||||
mode = "1920x1080@60.00Hz";
|
||||
position = "0,0";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "enable";
|
||||
scale = 1.0;
|
||||
position = "1920,0";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue