media-workspace.conf: use variable for media key definition

This commit is contained in:
David Thurstenson 2021-09-28 20:34:44 -05:00
parent a67702cb54
commit 2a58f121fc
1 changed files with 3 additions and 2 deletions

View File

@ -3,12 +3,13 @@
# Thurstylark # Thurstylark
set $ws-media Media set $ws-media Media
set $ws-media-key Home
# Switch output to workspace # Switch output to workspace
bindsym $mod+Home workspace $ws-media bindsym $mod+$ws-media-key workspace $ws-media
# Move focused container to workspace # 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 # Any mpv window should show on media workspace
for_window [app_id="mpv"] { for_window [app_id="mpv"] {