Switch to mako for notifications

This commit is contained in:
David Heinemeier Hansson
2025-06-22 20:48:38 -04:00
parent c5f1982274
commit d43639df15
18 changed files with 68 additions and 194 deletions

View File

@ -4,7 +4,7 @@
source = ~/.config/hypr/hyprland-monitors.conf
# Autostart necessary processes
exec-once = hypridle & swaync & waybar & fcitx5
exec-once = hypridle & mako & waybar & fcitx5
exec-once = wl-clip-persist --clipboard regular & clipse -listen
exec-once = ~/.local/share/omarchy/bin/swaybg-next
exec-once = dropbox-cli start

View File

@ -1,93 +0,0 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "center",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"layer-shell-cover-screen": true,
"cssPriority": "application",
"control-center-margin-top": 0,
"control-center-margin-bottom": 0,
"control-center-margin-right": 0,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-icon-size": 32,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"timeout": 10,
"timeout-low": 5,
"timeout-critical": 0,
"fit-to-screen": true,
"relative-timestamps": true,
"control-center-width": 500,
"control-center-height": 600,
"notification-window-width": 500,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"text-empty": "No Notifications",
"script-fail-notify": true,
"scripts": {
"example-script": {
"exec": "echo 'Do something...'",
"urgency": "Normal"
},
"example-action-script": {
"exec": "echo 'Do something actionable!'",
"urgency": "Normal",
"run-on": "action"
}
},
"notification-visibility": {
"example-name": {
"state": "muted",
"urgency": "Low",
"app-name": "Spotify"
}
},
"widgets": [
"inhibitors",
"title",
"dnd",
"notifications"
],
"widget-config": {
"inhibitors": {
"text": "Inhibitors",
"button-text": "Clear All",
"clear-all-button": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 5,
"text": "Label Text"
},
"mpris": {
"image-size": 96,
"image-radius": 12,
"blacklist": []
},
"buttons-grid": {
"actions": [
{
"label": "直",
"type": "toggle",
"active": true,
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'",
"update-command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
}
]
}
}
}

View File

@ -1,30 +0,0 @@
* {
all: unset;
font-family: Liberation Sans;
font-size: 14px;
}
.notification {
border-radius: 0px;
padding: 14px;
color: #cdd6f4;
background-color: rgba(26, 27, 38, 0.95);
border: 2px solid #313244;
margin: 20px;
}
.icon,
.app-icon,
.image {
margin-right: 8px;
}
.title {
font-weight: bold;
}
.body {
color: #a6adc8;
}
@import "../omarchy/current/theme/swaync.css";