featL work qol, enable matrix on winters

This commit is contained in:
Swarsel 2024-09-25 16:23:54 +02:00
parent 4ff80f4277
commit a2c58a5cd2
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 178 additions and 94 deletions

View file

@ -1,5 +1,10 @@
SHARESCREEN="$(nix eval --raw ~/.dotfiles#nixosConfigurations."$(hostname)".config.home-manager.users."$(whoami)".swarselsystems.sharescreen)"
wl-mirror "$SHARESCREEN" & sleep 0.1
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 12:S'
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
if [[ "$1" == "start" ]]; then
wl-mirror "$SHARESCREEN" & sleep 0.1
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