set $mod Mod4 set $term foot # NebulaOS temporary development compositor configuration # # Sway is invisible infrastructure. Nebula Desktop is the visible shell. # Do NOT add a bar block; Nebula provides its own top bar. # ----------------------------------------------------------------------------- # Output / resolution # ----------------------------------------------------------------------------- # Development default: 1:1 scale, fill the current display. # No mode is pinned, so Sway uses the output's preferred mode (typically the # native or current size). VMware Autofit Guest can then follow the host window. # # Inspect modes: swaymsg -t get_outputs # Force another mode (example): swaymsg output mode 1600x900 output * scale 1 output * bg #000000 solid_color # ----------------------------------------------------------------------------- # Cursor # ----------------------------------------------------------------------------- # The compositor owns the pointer cursor, not QML. # A branded Nebula cursor theme is a later task. seat * xcursor_theme Adwaita 24 # If the cursor is invisible in VMware, start Sway with: # WLR_NO_HARDWARE_CURSORS=1 sway -c compositor/sway/nebula-sway.conf # compositor/sway/dev/run-sway-vm.sh sets that automatically. # ----------------------------------------------------------------------------- # Nebula shell autostart # ----------------------------------------------------------------------------- # Starts nebula-shell through the VMware development wrapper, which sets # QT_QUICK_BACKEND=software. Production sessions must start nebula-shell # without that variable. # # Disable autostart for debugging: # NEBULA_SHELL_AUTOSTART=0 sway -c compositor/sway/nebula-sway.conf # # Run from the repository root so this relative path resolves, or use # compositor/sway/dev/run-sway-vm.sh which does that for you. exec /bin/sh scripts/run-nebula-vm.sh # ----------------------------------------------------------------------------- # Emergency development shortcuts (not the normal UX) # ----------------------------------------------------------------------------- bindsym $mod+Return exec $term bindsym $mod+Shift+e exec swaymsg exit bindsym $mod+Shift+c reload # Remove Sway window decorations default_border pixel 0 default_floating_border pixel 0 # Basic floating controls for development floating_modifier $mod normal