AvengeMedia / AvengeMedia/DankMaterialShell

IPC calls to show & hide bar widgets

Open
#1,063 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

## Feature Description

The settings entries for bar widgets have a show/hide (eye icon) button. It would be great to have this functionality via IPC.
```
dms ipc call widget show music
dms ipc call widget hide music
```

## Use Case

I want to use this with niri events, specifically `WindowFocusChanged`, to dynamically show or hide widgets based on the title/app-id of the focused window.

## Compositor

Is this feature specific to one compositor?

- [ ] All compositors
- [x] niri
- [ ] Hyprland
- [ ] dwl (MangoWC)
- [ ] sway

## Proposed Solution

I have only recently tried niri and DMS, so, I'm not familiar with the code base.

## Alternatives/Existing Solutions

I don't think there is a solution for this right now. Please let me know if I've missed something.

Contributor guide

Open the contributing guide

Research direction

The issue names the widget settings eye-button behavior, the `dms ipc call widget show|hide ` entry points, and niri’s `WindowFocusChanged` event. Start by locating the existing IPC and niri event paths; done means the commands toggle the named widget and support the stated focus-change use case, with relevant tests updated or added.

Written by the indexing model from the issue text.

Assessment

Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.