AvengeMedia / AvengeMedia/DankMaterialShell

Allow for setting different margin for sides and top/bottom for Bar

Open
#1,006 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

Being able to specify different margins for the sides and top/bottom for the bar.

## Use Case

It allows me, for example, to reduce the bar width without pushing it down (because when increasing the edge spacing, it increases in all directions)

## Compositor

Is this feature specific to one compositor?

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

## Proposed Solution

Separate the slider into two, sides and top/bottom

Image

For example hyprpanel allows this

Image

I belive this can be done with `gtk_layer_set_margin` so maybe something similar exists for quickshell

(quick search for PanelWindow)

Image

## Alternatives/Existing Solutions

Contributor guide

Open the contributing guide

Research direction

Start by locating PanelWindow in the Quickshell code and comparing its margin handling with gtk_layer_set_margin. Confirm how the Hyprland bar currently applies edge spacing, then separate side and top/bottom controls so the bar width can change without changing its vertical position.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.