mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-15 10:12:07 -04:00
hug toasts tighter to the top
This commit is contained in:
@@ -42,7 +42,7 @@ PanelWindow {
|
|||||||
width: ToastService.hasDetails ? 380 : messageText.implicitWidth + Theme.iconSize + Theme.spacingM * 3 + Theme.spacingL * 2
|
width: ToastService.hasDetails ? 380 : messageText.implicitWidth + Theme.iconSize + Theme.spacingM * 3 + Theme.spacingL * 2
|
||||||
height: toastContent.height + Theme.spacingL * 2
|
height: toastContent.height + Theme.spacingL * 2
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
y: Theme.barHeight + Theme.spacingL
|
y: Theme.barHeight + 2
|
||||||
color: {
|
color: {
|
||||||
switch (ToastService.currentLevel) {
|
switch (ToastService.currentLevel) {
|
||||||
case ToastService.levelError:
|
case ToastService.levelError:
|
||||||
|
|||||||
@@ -211,6 +211,12 @@ spawn-at-startup "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1"
|
|||||||
// Starts DankShell
|
// Starts DankShell
|
||||||
spawn-at-startup "qs" "-c" "DankMaterialShell"
|
spawn-at-startup "qs" "-c" "DankMaterialShell"
|
||||||
|
|
||||||
|
// If using niri newer than 271534e115e5915231c99df287bbfe396185924d (~aug 17 2025)
|
||||||
|
// you can add this to disable built in config load errors since dank shell provides this
|
||||||
|
config-notification {
|
||||||
|
disable-failed
|
||||||
|
}
|
||||||
|
|
||||||
// Dank keybinds
|
// Dank keybinds
|
||||||
// 1. These should not be in conflict with any pre-existing keybindings
|
// 1. These should not be in conflict with any pre-existing keybindings
|
||||||
// 2. You need to merge them with your existing config if you want to use these
|
// 2. You need to merge them with your existing config if you want to use these
|
||||||
|
|||||||
Reference in New Issue
Block a user