Skip to content

feat: add music/discord scratchpad with settings UI#3194

Open
kellyson71 wants to merge 1 commit intoend-4:mainfrom
kellyson71:feat/scratchpad-music-discord
Open

feat: add music/discord scratchpad with settings UI#3194
kellyson71 wants to merge 1 commit intoend-4:mainfrom
kellyson71:feat/scratchpad-music-discord

Conversation

@kellyson71
Copy link
Copy Markdown

Summary

Adds a scratchpad feature (floating special workspace) for quick-toggling a music app and Discord, inspired by the behavior present in caelestia-dots.

  • scratchpad.sh — toggles a named special workspace; reads config.json for app preference, enable/disable, and alwaysInSpecial mode
  • Config.qml — adds scratchpads.music / scratchpads.discord with defaults
  • ScratchpadConfig.qml — new settings page with enable toggles, music app selector (YouTube Music or Spotify), and alwaysInSpecial option per scratchpad
  • settings.qml — registers the new Scratchpads page in the nav rail
  • custom/keybinds.conf — adds commented-out example binds (Super+M / Super+D)

Behavior

Situation Action
Special workspace is visible Hide it
App is open on another workspace Move to scratchpad and show
App is not running Launch in scratchpad

Settings page

The new Scratchpads settings page exposes:

  • Enable/disable each scratchpad independently
  • Music app selector: YouTube Music or Spotify
  • Always open in special area toggle: when disabled, pressing the keybind while the app is open on another workspace will pull it into the scratchpad instead of launching a new instance

Test plan

  • Super+M toggles YouTube Music scratchpad; pressing again hides it
  • Super+M with YouTube Music open on ws 2 moves it to scratchpad
  • Switching music app to Spotify in settings and re-triggering opens Spotify
  • Disabling a scratchpad in settings makes the keybind a no-op
  • Super+D same behavior for Discord
  • Settings page renders correctly and changes persist across reload

🤖 Generated with Claude Code

Adds a floating special workspace (scratchpad) feature for quick-toggling
a music app and Discord via keybinds (e.g. Super+M / Super+D).

- scripts/scratchpad.sh: toggles a named special workspace; reads config
  for music app choice (YouTube Music or Spotify), enable/disable flags,
  and alwaysInSpecial mode
- Config.qml: adds scratchpads.music / scratchpads.discord defaults
- ScratchpadConfig.qml: new settings page with enable toggles, music app
  selector (YouTube Music / Spotify), and alwaysInSpecial option
- settings.qml: registers the Scratchpads page in the nav rail
- custom/keybinds.conf: adds commented-out example binds for Super+M/D

Behavior:
  - Special workspace visible → hide it
  - App open on another workspace → move to scratchpad and show
  - App not open → launch in scratchpad

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marepallisanthosh999333
Copy link
Copy Markdown
Contributor

i think there is actually a scratchpad in the dots which is toggled using super+s

@kellyson71
Copy link
Copy Markdown
Author

i think there is actually a scratchpad in the dots which is toggled using super+s

ye, got the idea for this from caelestia-dots, where I used that setup a lot in a more fixed way. I brought something similar here with per-app behavior and easy settings.

It's fine to say no if it doesn't seem useful or fit well. I was already using this locally and just wanted to share it. 😅

@marepallisanthosh999333
Copy link
Copy Markdown
Contributor

can u share images

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants