31 lines
734 B
Plaintext
31 lines
734 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
|
|
set $monitor-launch "alacritty --class bpytop -e bpytop"
|
|
|
|
# Launch monitor on key combo
|
|
bindsym $mod+Alt+$ws-monitor-key exec $monitor-launch
|
|
|
|
# Launch monitor on startup
|
|
exec $monitor-launch
|