diff options
Diffstat (limited to 'config/swaync')
24 files changed, 450 insertions, 0 deletions
diff --git a/config/swaync/config.json b/config/swaync/config.json new file mode 100644 index 00000000..64e24561 --- /dev/null +++ b/config/swaync/config.json @@ -0,0 +1,100 @@ +{ + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "center", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "top", + "layer-shell": true, + "cssPriority": "application", + "control-center-margin-top": 5, + "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": 24, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 6, + "timeout-low": 3, + "timeout-critical": 0, + "fit-to-screen": false, + "control-center-width": 350, + "control-center-height": 720, + "notification-window-width": 400, + "keyboard-shortcuts": true, + "image-visibility": "when available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "dnd", + "buttons-grid", + "mpris", + "volume", + "backlight", + "title", + "notifications" + ], + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "label": { + "max-lines": 1, + "text": "Notification" + }, + "mpris": { + "image-size": 10, + "image-radius": 0 + }, + "volume": { + "label": "" + }, + "backlight": { + "label": "" + }, + "buttons-grid": { + "actions": [ + { + "label": "", + "command": "systemctl poweroff" + }, + { + "label": "", + "command": "systemctl reboot" + }, + { + "label": "", + "command": "~/.config/hypr/scripts/LockScreen.sh" + }, + { + "label": "", + "command": "hyprctl dispatch exit" + }, + { + "label": "", + "command": "~/.config/hypr/scripts/AirplaneMode.sh" + }, + { + "label": "", + "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" + }, + { + "label": "", + "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" + }, + { + "label": "", + "command": "blueman-manager" + } + ] + } + } +}
\ No newline at end of file diff --git a/config/swaync/icons/backup.png b/config/swaync/icons/backup.png Binary files differnew file mode 100644 index 00000000..a60a495e --- /dev/null +++ b/config/swaync/icons/backup.png diff --git a/config/swaync/icons/battery-quarter-solid.svg b/config/swaync/icons/battery-quarter-solid.svg new file mode 100644 index 00000000..450ef3dc --- /dev/null +++ b/config/swaync/icons/battery-quarter-solid.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm112 32V320H96V192h96z"/></svg>
\ No newline at end of file diff --git a/config/swaync/icons/battery-status.png b/config/swaync/icons/battery-status.png Binary files differnew file mode 100644 index 00000000..07bf8154 --- /dev/null +++ b/config/swaync/icons/battery-status.png diff --git a/config/swaync/icons/brightness-100.png b/config/swaync/icons/brightness-100.png Binary files differnew file mode 100644 index 00000000..1e28ac37 --- /dev/null +++ b/config/swaync/icons/brightness-100.png diff --git a/config/swaync/icons/brightness-20.png b/config/swaync/icons/brightness-20.png Binary files differnew file mode 100644 index 00000000..aee9c523 --- /dev/null +++ b/config/swaync/icons/brightness-20.png diff --git a/config/swaync/icons/brightness-40.png b/config/swaync/icons/brightness-40.png Binary files differnew file mode 100644 index 00000000..bbedd1c7 --- /dev/null +++ b/config/swaync/icons/brightness-40.png diff --git a/config/swaync/icons/brightness-60.png b/config/swaync/icons/brightness-60.png Binary files differnew file mode 100644 index 00000000..4cd838bd --- /dev/null +++ b/config/swaync/icons/brightness-60.png diff --git a/config/swaync/icons/brightness-80.png b/config/swaync/icons/brightness-80.png Binary files differnew file mode 100644 index 00000000..6684bdb8 --- /dev/null +++ b/config/swaync/icons/brightness-80.png diff --git a/config/swaync/icons/dropper.png b/config/swaync/icons/dropper.png Binary files differnew file mode 100644 index 00000000..2e222a35 --- /dev/null +++ b/config/swaync/icons/dropper.png diff --git a/config/swaync/icons/microphone-mute.png b/config/swaync/icons/microphone-mute.png Binary files differnew file mode 100644 index 00000000..1780e330 --- /dev/null +++ b/config/swaync/icons/microphone-mute.png diff --git a/config/swaync/icons/microphone.png b/config/swaync/icons/microphone.png Binary files differnew file mode 100644 index 00000000..d1b6d767 --- /dev/null +++ b/config/swaync/icons/microphone.png diff --git a/config/swaync/icons/music.png b/config/swaync/icons/music.png Binary files differnew file mode 100644 index 00000000..92bf4c65 --- /dev/null +++ b/config/swaync/icons/music.png diff --git a/config/swaync/icons/palette.png b/config/swaync/icons/palette.png Binary files differnew file mode 100644 index 00000000..3ba73d05 --- /dev/null +++ b/config/swaync/icons/palette.png diff --git a/config/swaync/icons/picture.png b/config/swaync/icons/picture.png Binary files differnew file mode 100644 index 00000000..4669bc30 --- /dev/null +++ b/config/swaync/icons/picture.png diff --git a/config/swaync/icons/timer.png b/config/swaync/icons/timer.png Binary files differnew file mode 100644 index 00000000..420d1f15 --- /dev/null +++ b/config/swaync/icons/timer.png diff --git a/config/swaync/icons/uptime.png b/config/swaync/icons/uptime.png Binary files differnew file mode 100644 index 00000000..9dd08de6 --- /dev/null +++ b/config/swaync/icons/uptime.png diff --git a/config/swaync/icons/volume-high.png b/config/swaync/icons/volume-high.png Binary files differnew file mode 100644 index 00000000..200f17b2 --- /dev/null +++ b/config/swaync/icons/volume-high.png diff --git a/config/swaync/icons/volume-low.png b/config/swaync/icons/volume-low.png Binary files differnew file mode 100644 index 00000000..17cfff78 --- /dev/null +++ b/config/swaync/icons/volume-low.png diff --git a/config/swaync/icons/volume-mid.png b/config/swaync/icons/volume-mid.png Binary files differnew file mode 100644 index 00000000..1a3ad3a3 --- /dev/null +++ b/config/swaync/icons/volume-mid.png diff --git a/config/swaync/icons/volume-mute.png b/config/swaync/icons/volume-mute.png Binary files differnew file mode 100644 index 00000000..0b9b0c3c --- /dev/null +++ b/config/swaync/icons/volume-mute.png diff --git a/config/swaync/icons/vpn.png b/config/swaync/icons/vpn.png Binary files differnew file mode 100644 index 00000000..e31acaaa --- /dev/null +++ b/config/swaync/icons/vpn.png diff --git a/config/swaync/images/bell.png b/config/swaync/images/bell.png Binary files differnew file mode 100644 index 00000000..d9fea964 --- /dev/null +++ b/config/swaync/images/bell.png diff --git a/config/swaync/style.css b/config/swaync/style.css new file mode 100644 index 00000000..f0d41fb4 --- /dev/null +++ b/config/swaync/style.css @@ -0,0 +1,349 @@ +/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ + +@import '../../.cache/wal/colors-waybar.css'; + +@define-color noti-border-color @color2; +@define-color noti-bg rgba(0, 0, 0, 0.8); +@define-color noti-bg-alt #111111; +@define-color noti-bg-hover @color2; +@define-color text-color @color2; +@define-color text-color-alt @color7; +@define-color text-color-disabled rgba(150, 150, 150, 0.8); + +* { + font-family: FiraCode; + font-weight: Bolder; +} + +.control-center .notification-row:focus, +.control-center .notification-row:hover { + opacity: 1; + background: @noti-bg; + border-radius: 10px +} + +.notification-row { + outline: none; + margin: 0px; +} + +.notification { + border-radius: 10px; +} + +.notification-content{ + color: @text-color; + background: @noti-bg; + padding: 3px 10px 3px 6px; + border-radius: 10px; + border: 2px solid @noti-border-color; + margin: 0px; +} + +.notification-default-action { + margin: 0; + padding: 0; + border-radius: 10px; +} + +.close-button { + background: #f7768e; + color: @noti-bg; + text-shadow: none; + padding: 0; + border-radius: 10px; + margin-top: 5px; + margin-right: 5px; +} + +.close-button:hover { + box-shadow: none; + background: #f7768e; + transition: all .15s ease-in-out; + border: none +} + + +.notification-action { + border: 2px solid @noti-border-color; + border-top: none; + border-radius: 10px; +} + + +.notification-default-action:hover, +.notification-action:hover { + color: @text-color; + background: @color1 +} + +.notification-default-action { + border-radius: 10px; + margin: 5px; +} + +.notification-default-action:not(:only-child) { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px +} + +.notification-action:first-child { + border-bottom-left-radius: 10px; + background: #1b1b2b +} + +.notification-action:last-child { + border-bottom-right-radius: 10px; + background: #1b1b2b +} + +.inline-reply { + margin-top: 8px +} + +.inline-reply-entry { + background: @noti-bg; + color: @text-color; + caret-color: @text-color; + border: 1px solid @noti-border-color; + border-radius: 10px +} + +.inline-reply-button { + font-size: 0.5rem; + margin-left: 4px; + background: @noti-bg; + border: 1px solid @noti-border-color; + border-radius: 10px; + color: @text-color +} + +.inline-reply-button:disabled { + background: initial; + color: @text-color-disabled; + border: 1px solid transparent +} + +.inline-reply-button:hover { + background: @noti-bg-hover +} + +.body-image { + margin-top: 6px; + color: @text-color-alt; + border-radius: 10px +} + +.summary { + font-size: 1rem; + font-weight: 200; + background: transparent; + color: @text-color-alt; + text-shadow: none +} + +.time { + font-size: 1rem; + font-weight: 200; + background: transparent; + color: @text-color; + text-shadow: none; + margin-right: 18px +} + +.body { + font-size: 1rem; + font-weight: 200; + background: transparent; + color: @text-color; + text-shadow: none +} + +.control-center { + background: @noti-bg; + border: 2px solid @noti-border-color; + border-radius: 10px; +} + +.control-center-list { + background: transparent +} + +.control-center-list-placeholder { + opacity: 0.5 +} + +.floating-notifications { + background: transparent; +} + +.blank-window { + background: alpha(black, 0.1) +} + +.widget-title { + color: @noti-border-color; + background: @noti-bg-alt; + padding: 3px 6px; + margin: 5px; + font-size: 1rem; + border-radius: 10px; +} + +.widget-title>button { + font-size: 0.75rem; + color: @text-color; + border-radius: 10px; + background: transparent; + border: 0.5px solid @noti-border-color; +} + +.widget-title>button:hover { + background: #f7768e; + color: @noti-border-color; +} + +.widget-dnd { + background: @noti-bg-alt; + padding: 3px 6px; + margin: 5px; + border-radius: 10px; + font-size: 1rem; + color: @noti-border-color; +} + +.widget-dnd>switch { + border-radius: 10px; + /* border: 1px solid #7aa2f7; */ + background: @noti-border-color; +} + +.widget-dnd>switch:checked { + background: #f7768e; + border: 1px solid #f7768e; +} + +.widget-dnd>switch slider { + background: @noti-bg; + border-radius: 10px +} + +.widget-dnd>switch:checked slider { + background: @noti-bg; + border-radius: 10px +} + +.widget-label { + margin: 5px; +} + +.widget-label>label { + font-size: 1rem; + color: @text-color; +} + +.widget-mpris { + color: @text-color; + background: @noti-bg-alt; + padding: 3px 6px; + margin: 5px; + border-radius: 10px; +} + +.widget-mpris > box > button { + border-radius: 10px; +} + +.widget-mpris-player { + padding: 3px 6px; + margin: 5px; +} + +.widget-mpris-title { + font-weight: 100; + font-size: 1rem +} + +.widget-mpris-subtitle { + font-size: 0.75rem +} + +.widget-buttons-grid { + font-size: large; + color: @noti-border-color; + padding: 2px; + margin: 5px; + border-radius: 10px; + background: @noti-bg-alt; +} + +.widget-buttons-grid>flowbox>flowboxchild>button { + margin: 1px; + background: @noti-bg; + border-radius: 10px; + color: @text-color +} + +.widget-buttons-grid>flowbox>flowboxchild>button:hover { + background: rgba(122, 162, 247, 0.1); + color: @text-color-alt +} + +.widget-menubar>box>.menu-button-bar>button { + border: none; + background: transparent +} + +.topbar-buttons>button { + border: none; + background: transparent +} + +.widget-volume { + background: @noti-bg-alt; + padding: 2px; + margin: 10px 10px 5px 10px; + border-radius: 10px; + font-size: x-large; + color: @text-color +} + +.widget-volume>box>button { + background: #7aa2f7; + border: none +} + +.per-app-volume { + background-color: @noti-bg; + padding: 4px 8px 8px; + margin: 0 8px 8px; + border-radius: 10px; + color: @text-color +} + +.widget-backlight { + background: @noti-bg-alt; + padding: 5px; + margin: 10px 10px 5px 10px; + border-radius: 10px; + font-size: x-large; + color: @text-color +} + +.low { + background: @text-color; + padding: 0px; + border-radius: 10px; +} + +.normal { + background: @text-color; + padding: 0px; + border-radius: 10px; +} + +.critical { + background: red; + padding: 0px; + border-radius: 10px; +} |
