From 2a58f121fcf8fe655849def59f63d34eda20aba5 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Tue, 28 Sep 2021 20:34:44 -0500 Subject: [PATCH] media-workspace.conf: use variable for media key definition --- .config/sway/available/extras/media-workspace.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/sway/available/extras/media-workspace.conf b/.config/sway/available/extras/media-workspace.conf index 84994df..85389cb 100644 --- a/.config/sway/available/extras/media-workspace.conf +++ b/.config/sway/available/extras/media-workspace.conf @@ -3,12 +3,13 @@ # Thurstylark set $ws-media Media +set $ws-media-key Home # Switch output to workspace -bindsym $mod+Home workspace $ws-media +bindsym $mod+$ws-media-key workspace $ws-media # Move focused container to workspace -bindsym $mod+Shift+Home move container to workspace $ws-media +bindsym $mod+Shift+$ws-media-key move container to workspace $ws-media # Any mpv window should show on media workspace for_window [app_id="mpv"] {