fix: screenshare work

This commit is contained in:
Swarsel 2024-11-06 16:33:19 +01:00
parent 202b723e1f
commit 444a6ee59f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 22 additions and 20 deletions

View file

@ -3360,9 +3360,9 @@ This utility checks if there are updated packages in nixpkgs-unstable. It does s
if [[ "$1" == "start" ]]; then
wl-mirror "$SHARESCREEN" & sleep 0.1
swaymsg output eDP-2 mode 1280x800
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 12:S'
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
swaymsg output eDP-2 mode 1280x800
else
swaymsg output eDP-2 mode 2560x1600
fi
@ -9598,6 +9598,7 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
dig
docker
postman
rclone
];
programs = {

View file

@ -7,6 +7,7 @@
dig
docker
postman
rclone
];
programs = {

View file

@ -2,9 +2,9 @@ SHARESCREEN="$(nix eval --raw ~/.dotfiles#nixosConfigurations."$(hostname)".conf
if [[ "$1" == "start" ]]; then
wl-mirror "$SHARESCREEN" & sleep 0.1
swaymsg output eDP-2 mode 1280x800
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 12:S'
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
swaymsg output eDP-2 mode 1280x800
else
swaymsg output eDP-2 mode 2560x1600
fi