workstation | refactor home-manager, remove basshrc control from home-manager

This commit is contained in:
Don Harper 2023-04-10 06:49:26 -05:00
parent 2b2653baa5
commit 2010f05730
12 changed files with 163 additions and 218 deletions

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\""
];
};
};
};
};
}