mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
featL work qol, enable matrix on winters
This commit is contained in:
parent
4ff80f4277
commit
a2c58a5cd2
9 changed files with 178 additions and 94 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue