Skip to content

Delete a profile from Settings → Profiles #667

Closed

Description

@M4n0x

Problem

Settings → Profiles can create a profile, turn it on or off and edit its conditions and changes, but can't delete it. A profile added there stays in the list for good; the only ways out are turning it off or editing config.json by hand.

The command line can't either: unset with {"profiles":{"night":{…}}} removes properties inside a profile (an emptied configuration stays {}), {"profiles":{"night":null}} leaves the profile alone (removing(_:from:scope:) in Sources/StableBar/ConfigurationEdits.swift only matches an object mask), and {"profiles":null} removes every profile in the main file.

Proposal

  • A Delete Profile… action in the profile's detail and the card's context menu, confirmed, saved as one undoable change.
  • For a profile defined in the main file. One from a theme, include or package can only be turned off; where the main file only overrides it, the action removes those overrides.
  • Deleting the pinned profile ("profile": "<name>") clears the pin; deleting the one being edited in Bar ends profile editing.
  • Command line: {"action":"unset","properties":{"profiles":{"night":null}}} removes that profile from the main file.
  • Docs: Profiles in docs/configuration.md, unset in docs/command-line.md.

Possible today

Turn it off with Enabled, or delete its entry from profiles in ~/.config/stablebar/config.json.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 15, 2026
  2. stablebar-releases commented on Nov 16, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.16.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions