mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: niri, new winters ip, mail fixes
This commit is contained in:
parent
6ea3851e72
commit
915bf256da
61 changed files with 1814 additions and 965 deletions
9
pkgs/kanshare/default.nix
Normal file
9
pkgs/kanshare/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ name, writeShellApplication, wlr-randr, busybox, wl-mirror, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ wlr-randr busybox wl-mirror ];
|
||||
text = ''
|
||||
wlr-randr | grep "$2" | cut -d" " -f1 | xargs -I{} wl-present mirror "$1" --fullscreen-output {}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue