refactoring!

This commit is contained in:
Don Harper 2023-05-04 21:18:28 -05:00
parent db485e8d3e
commit 04eb69dbc8
21 changed files with 0 additions and 0 deletions

43
home/services.nix Normal file
View file

@ -0,0 +1,43 @@
{ config, pkgs, ... }:
{
services = {
kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [
{
criteria = "Sharp Corporation 0x14F9 0x00000000";
status = "enable";
scale = 1.2;
}
];
};
docked = {
outputs = [
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "Samsung Electric Company C24F390 H4ZN519488";
status = "enable";
position = "0,0";
}
{
criteria = "Stargate Technology HDMI Unknown";
status = "enable";
position = "0,1080";
}
];
exec = [
"swaymsg workspace 1, move workspace to output \"Samsung Electric Company C24F390 H4ZN519488\""
"swaymsg workspace 5, move workspace to output \"Stargate Technology HDMI Unknown\""
"swaymsg workspace 6, move workspace to output \"Samsung Electric Company C24F390 H4ZN519488\""
"swaymsg workspace 9, move workspace to output \"Stargate Technology HDMI Unknown\""
];
};
};
};
};
}