From 4f351c1f810a2c011b20aa3c3c39bc810fc6b5eb Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Mon, 30 Aug 2021 21:34:44 -0500 Subject: [PATCH] Added games workspace and bindsym for decklink mirroring via mpv --- .../sway/available/extras/games-workspace.conf | 17 +++++++++++++++++ .config/sway/lark-desktop/games-workspace.conf | 1 + 2 files changed, 18 insertions(+) create mode 100644 .config/sway/available/extras/games-workspace.conf create mode 120000 .config/sway/lark-desktop/games-workspace.conf diff --git a/.config/sway/available/extras/games-workspace.conf b/.config/sway/available/extras/games-workspace.conf new file mode 100644 index 0000000..79730cf --- /dev/null +++ b/.config/sway/available/extras/games-workspace.conf @@ -0,0 +1,17 @@ +# Sway Config: Games workspace +# +# Thurstylark + +set $ws-games Games + +set $ws-games-url "av://decklink:DeckLink\ Mini\ Recorder" + +# Switch output to workspace +bindsym $mod+End workspace $ws-games + +# Move focused container to workspace +bindsym $mod+Shift+End move container to workspace $ws-games + + +bindsym $mod+Delete exec "alacritty --class mctrl -e mpv $ws-games-url" +bindsym $mod+Shift+Delete exec "alacritty --class mctrl -e mpv $ws-games-url --profile=low-latency --untimed --ao=null --ao-null-untimed" diff --git a/.config/sway/lark-desktop/games-workspace.conf b/.config/sway/lark-desktop/games-workspace.conf new file mode 120000 index 0000000..7ff9b4d --- /dev/null +++ b/.config/sway/lark-desktop/games-workspace.conf @@ -0,0 +1 @@ +../available/extras/games-workspace.conf \ No newline at end of file