Added Monitor workspace, and related bindings

This commit is contained in:
David Thurstenson 2021-01-20 11:35:54 -06:00
parent 6d2158012d
commit 3b27e97cff
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Sway Config: Monitor workspace
#
# Thurstylark
# Workspace name
set $ws-monitor Monitor
# Workspace key
set $ws-monitor-key Print
# Switch output to workspace
bindsym $mod+$ws-monitor-key workspace $ws-monitor
# Move focused container to workspace
bindsym $mod+Shift+$ws-monitor-key move container to workspace $ws-monitor
# Window with custom app_id should be moved to Monitor workspace, and fullscreened
for_window [app_id="bpytop"] {
move container to workspace $ws-monitor
fullscreen enable
}
# Launch bpytop with custom app_id
bindsym $mod+Alt+$ws-monitor-key exec "alacritty --class bpytop -e bpytop"