.dotfiles/sway/config.d/20-workspace.conf

62 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
2023-05-13 14:38:44 +00:00
workspace_layout tabbed
assign [app_id="Alacritty"] 1
2026-03-11 12:45:33 +00:00
assign [instance="google-chrome"] 2
2025-08-16 11:34:33 +00:00
assign [app_id="google-chrome"] 2
2023-05-13 14:38:44 +00:00
assign [class="jetbrains-studio"] 3
2026-03-11 12:45:33 +00:00
assign [app_id="blender"] 3
assign [instance="freecad"] 3
assign [instance="bambu-studio"] 3
2023-05-13 14:38:44 +00:00
assign [app_id="org.gnome.Nautilus"] 4
2026-03-11 12:45:33 +00:00
assign [app_id="mpv"] 5
2023-05-23 07:51:07 +00:00
assign [instance="Mail"] 6
2025-08-16 11:34:33 +00:00
for_window [class="platformer"] floating enable
2026-03-11 12:45:33 +00:00
# 1. Floating für alle Emulator-Fenster deaktivieren
# for_window [class="Emulator"] floating disable
# 2. Das Hauptfenster (Pixel 9 Display) konfigurieren
# Wir suchen nach dem Titel, der den Namen des Geräts enthält
for_window [title="Android Emulator - Pixel_9*"] floating disable
for_window [title="Android Emulator - Pixel_9*"] move right
for_window [title="Android Emulator - Pixel_9*"] resize set width 500 px
# 3. Die Toolbar konfigurieren
# Diese hat meist nur den schlichten Titel "Emulator"
# for_window [title="^Emulator$"] move right, resize set width 60 px
# Optional: Fokus zurück auf das Terminal setzen, falls gewünscht
# for_window [class="Emulator"] focus left
2023-05-23 07:51:07 +00:00
# ext: set ft=swayconfig