AvengeMedia / AvengeMedia/DankMaterialShell

IPC command to temporarily peek autohidden bar (for gesture/touchscreen use)

Open
#2,438 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

Would it be possible to add an IPC command that triggers the same temporary peek behavior as mouse proximity for autohidden bars?

### Use Case

I am using lisgd for touchscreen gestures on Niri where I map touchscreen gestures to specific commands on a convertible laptop. The goal is to swipe down on the top edge of the screen with one finger to peek the autohidden(i.e. one with autoHide enabled,not one hidden via bar hide) bar — have it slide in, stay briefly,then auto-hide again after a delay if not interacted with OR swipe back one finger up on the edge to hide it again — exactly like mouse proximity does, but triggered via gesture instead.

### Compositor(s)

All compositors

### If Other, please specify

_No response_

### Proposed Solution

Looking at DankBarWindow.qml in the DMS code, the reveal property already has revealSticky as one of its conditions, and revealHold handles the timed auto-hide. An IPC command that sets revealSticky = true and starts revealHold seems like it would be sufficient — happy to be corrected if I'm missing something here??

### Alternatives/Existing Solutions

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading DankBarWindow.qml, focusing on the existing reveal, revealSticky, and revealHold behavior used for mouse-proximity peeking. Trace the IPC command entry point and how bar state is exposed there; done means an IPC-triggered peek works for autohidden bars, remains temporary, and hides again after the delay or an upward gesture.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.