kanshi
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -49,11 +49,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1770112394,
|
||||
"narHash": "sha256-H8d0WplmDeuvOM4bsHNt77T6OWiSJMaTP6UG1XyMNxA=",
|
||||
"lastModified": 1772137435,
|
||||
"narHash": "sha256-dqkfxxpIiIs4wdWhT4lfQi1lfA0CgIftPiYGvw0tUOk=",
|
||||
"owner": "Lassulus",
|
||||
"repo": "wrappers",
|
||||
"rev": "23625835eb91d925c498780f5a37442ead1ae8e5",
|
||||
"rev": "4e12f430ae705d9bbb591ca9c51cbccbee050a23",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -55,6 +55,10 @@
|
||||
inherit (inputs) wrappers;
|
||||
pkgs = final;
|
||||
};
|
||||
niphas-kanshi = import packages/kanshi.nix {
|
||||
inherit (inputs) wrappers;
|
||||
pkgs = final;
|
||||
};
|
||||
niphas-wallpaper =
|
||||
prev.runCommand "niphas-wallpaper.png"
|
||||
{
|
||||
@@ -106,6 +110,7 @@
|
||||
niphas-bar
|
||||
niphas-git
|
||||
niphas-niri
|
||||
niphas-kanshi
|
||||
niphas-editor
|
||||
niphas-wallpaper
|
||||
niphas-set-wallpaper
|
||||
|
||||
18
packages/kanshi.nix
Normal file
18
packages/kanshi.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ wrappers, pkgs }:
|
||||
let
|
||||
kanshi = wrappers.wrapperModules.kanshi.apply {
|
||||
inherit pkgs;
|
||||
configFile.content = ''
|
||||
profile {
|
||||
output "eDP-1" enable
|
||||
}
|
||||
|
||||
# laptop above external monitor
|
||||
profile {
|
||||
output "HDMI-A-1" enable position 0,0
|
||||
output "eDP-1" enable position 0,1440
|
||||
}
|
||||
'';
|
||||
};
|
||||
in
|
||||
kanshi.wrapper
|
||||
Reference in New Issue
Block a user