kanshi
This commit is contained in:
parent
7d5fc34d2b
commit
15eb37ffb6
2 changed files with 20 additions and 38 deletions
|
|
@ -85,6 +85,25 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
settings = [
|
||||
{
|
||||
profile.name = "maya-desktop";
|
||||
profile.outputs = [
|
||||
{ criteria = "Dell Inc. DELL P2411H MGMHG1681VAU"; position = "0,1050"; }
|
||||
{ criteria = "Samsung Electric Company SyncMaster HMDQ202016"; position = "0,0"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
profile.name = "alyx-desktop";
|
||||
profile.outputs = [
|
||||
{ criteria = "Something Something I Suppose"; position = "0,0"; }
|
||||
{ criteria = "I Suppose Yeah"; position = "0,0"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -249,49 +249,12 @@
|
|||
# moving the mouse or pressing any other key.
|
||||
"Mod+Shift+P".action.power-off-monitors = {};
|
||||
};
|
||||
outputs = (if vars.user == "alyx" then {
|
||||
DP-1 = {
|
||||
mode = {
|
||||
height = 1080;
|
||||
refresh = 239.76;
|
||||
width = 1920;
|
||||
};
|
||||
position = {
|
||||
x = 2560;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
DP-4 = {
|
||||
mode = {
|
||||
height = 1080;
|
||||
refresh = 75.0;
|
||||
width = 2560;
|
||||
};
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
else {
|
||||
DP-1 = {
|
||||
mode = {
|
||||
height = 1080;
|
||||
refresh = 239.76;
|
||||
width = 1920;
|
||||
};
|
||||
position = {
|
||||
x = 2560;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
});
|
||||
spawn-at-startup = [
|
||||
{command = ["waybar"];}
|
||||
{command = ["xwayland-satellite"];}
|
||||
{command = if vars.user == "alyx" then ["swaybg" "-m" "fill" "-i" "/home/${vars.user}/.config/nixos/assets/scenes.jpg"] else ["swaybg" "-m" "fill" "-i" "/home/${vars.user}/.config/nixos/assets/scenes.jpg"];}
|
||||
{command = ["udiskie" "--appindicator"];}
|
||||
{command = [ "systemctl" "--user" "restart" "xdg-desktop-portal-gnome.service"];}
|
||||
{command = ["kanshi"];}
|
||||
];
|
||||
environment = {
|
||||
DISPLAY = ":0";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue