From f65d9f7011658c4c9239e0670cf21b0bb139e83e Mon Sep 17 00:00:00 2001 From: djorgensen Date: Tue, 17 Nov 2026 15:47:10 -0600 Subject: [PATCH] Upload files to ".config/swaync" --- .config/swaync/config.json | 51 ++++++++++++++++++++++++++++++++++++++ .config/swaync/style.css | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 .config/swaync/config.json create mode 100644 .config/swaync/style.css diff --git a/.config/swaync/config.json b/.config/swaync/config.json new file mode 100644 index 0000000..a0c0317 --- /dev/null +++ b/.config/swaync/config.json @@ -0,0 +1,51 @@ +{ + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "overlay", + "cssPriority": "user", + "layer-shell": true, + "control-center-margin-top": 10, + "control-center-margin-bottom": 10, + "control-center-margin-right": 10, + "control-center-margin-left": 10, + "notification-2fa-action": true, + "notification-inline-replies": false, + "notification-icon-size": 48, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 6, + "timeout-low": 3, + "timeout-critical": 0, + "fit-to-screen": true, + "control-center-width": 380, + "control-center-height": 600, + "notification-window-width": 380, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "title", + "dnd", + "notifications", + "mpris" + ], + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "mpris": { + "image-size": 64, + "blur": true + } + } +} diff --git a/.config/swaync/style.css b/.config/swaync/style.css new file mode 100644 index 0000000..3fd98f1 --- /dev/null +++ b/.config/swaync/style.css @@ -0,0 +1,51 @@ +* { + font-family: "JetBrainsMono Nerd Font", sans-serif; + font-size: 13px; +} + +.control-center { + background: rgba(30, 30, 46, 0.95); + border-radius: 12px; + border: 1px solid rgba(137, 180, 250, 0.3); +} + +.notification-row .notification-background { + background: rgba(49, 50, 68, 0.9); + border-radius: 10px; + margin: 6px; +} + +.notification-row .notification-background .notification-default-action { + color: #cdd6f4; +} + +.close-button { + background: #f38ba8; + border-radius: 50%; + color: #1e1e2e; +} + +.widget-title { + color: #cdd6f4; + font-weight: bold; + padding: 8px; +} + +.widget-title button { + background: #89b4fa; + color: #1e1e2e; + border-radius: 8px; +} + +.widget-dnd { + padding: 8px; +} + +.widget-dnd > switch { + border-radius: 12px; + background: #45475a; +} + +.widget-dnd > switch:checked { + background: #89b4fa; +}