module(kanshi): Add kanshi module to config monitors
This commit is contained in:
parent
01bf0fba4f
commit
98e6f4df21
3 changed files with 58 additions and 46 deletions
|
|
@ -1,10 +1,4 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.niri-flake.lib.kdl) node leaf flag;
|
||||
in {
|
||||
{config, ...}: {
|
||||
david.programs.niri = {
|
||||
waybar.settings = let
|
||||
cfg = config.david.programs.niri.waybar;
|
||||
|
|
@ -34,44 +28,6 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
extraConfig = let
|
||||
output = node "output";
|
||||
in [
|
||||
(output ["DP-3"] [
|
||||
(leaf "mode" ["2560x1440@169.900"])
|
||||
(leaf "scale" [1.0])
|
||||
(leaf "position" [
|
||||
{
|
||||
x = 0;
|
||||
y = 0;
|
||||
}
|
||||
])
|
||||
(leaf "transform" ["normal"])
|
||||
(flag "focus-at-startup")
|
||||
])
|
||||
(output ["DP-1"] [
|
||||
(leaf "mode" ["2560x1440@169.900"])
|
||||
(leaf "scale" [1.0])
|
||||
(leaf "position" [
|
||||
{
|
||||
x = 0;
|
||||
y = 0;
|
||||
}
|
||||
])
|
||||
(leaf "transform" ["normal"])
|
||||
(flag "focus-at-startup")
|
||||
])
|
||||
(output ["eDP-1"] [
|
||||
(leaf "mode" ["2560x1440@165.003"])
|
||||
(leaf "scale" [1.5])
|
||||
(leaf "position" [
|
||||
{
|
||||
x = 2560;
|
||||
y = 0;
|
||||
}
|
||||
])
|
||||
(leaf "transform" ["normal"])
|
||||
])
|
||||
];
|
||||
extraConfig = [];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue