sway/.config/sway/available/extras/monitor-workspace.conf

24 lines
616 B
Plaintext

# 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"