fix: properly run screenshare as user and service

This commit is contained in:
Leon Schwarzäugl 2025-03-22 23:11:50 +01:00
parent 868b8eaec5
commit d7a7571b00
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 76 additions and 10 deletions

View file

@ -0,0 +1,10 @@
{ name, writeShellApplication, sway, ... }:
writeShellApplication {
inherit name;
runtimeInputs = [ sway ];
text = ''
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 14:T'
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
'';
}