mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: screenshare work
This commit is contained in:
parent
202b723e1f
commit
444a6ee59f
4 changed files with 22 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue