Skip to content

[Enhancement] Figma-style sections  #75

Description

@youssefvdel

Figma-Style Sections as Workspaces

Overview

Transform sections from canvas decorations into workspace-like containers that are created dynamically at runtime (not via config).
Key difference from config-based: Sections are runtime entities created via right-click menu or keyboard shortcut, stored in memory/state file only.


Context Menu Flow

Right-Click on Canvas

┌─────────────────┐
│ New Section     │ ← Creates section at viewport, switches to it
└─────────────────┘

Right-Click on Active Section

┌─────────────────┐
│ New Section     │
├─────────────────┤
│ Suspend         │ ← Suspends all apps in section (frees RAM/CPU)
│ Rename          │
│ Delete          │
└─────────────────┘

Right-Click on Inactive Section

┌─────────────────┐
│ New Section     │
├─────────────────┤
│ Active          │ ← resume from suspended
│ Rename          │
│ Delete          │
└─────────────────┘

Suspend:

  • Get all windows in active section
  • Get their PIDs (from window/app_id mapping)
  • Send SIGSTOP to each PID
  • Mark section as suspended
  • turn into gray

Future

  1. Drag windows between sections — drag to edge, peek into adjacent section
  2. Per-section backgrounds — different wallpaper per section (color picker)
  3. Section locking — prevent moving section instead of window
  4. Move window to section — context menu on window → "Move to Section X"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions