new waybar + new rofi + swaync + wlogout colors fix

This commit is contained in:
2026-02-06 14:20:07 +03:00
parent e93966f13f
commit 094a9082f7
93 changed files with 5120 additions and 658 deletions

84
swaync 0.12/config.json Normal file
View File

@@ -0,0 +1,84 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "user",
"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": 100,
"notification-window-width": 300,
"timeout": 6,
"timeout-low": 3,
"timeout-critical": 0,
"fit-to-screen": false,
"control-center-width": 280,
"control-center-height": 800,
"keyboard-shortcuts": true,
"image-visibility": "when available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"buttons-grid",
"mpris",
"dnd",
"title",
"notifications"
],
"widget-config": {
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "󰎟"
},
"backlight": {
"label": "󰃟"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 1,
"text": "Notification"
},
"mpris": {
"image-size": 60,
"image-radius": 12
},
"buttons-grid": {
"actions": [
{
"label": "󰐥",
"command": "bash -c $HOME/.config/hypr/scripts/Wlogout.sh"
},
{
"label": "󰌾",
"command": "bash -c $HOME/.config/hypr/scripts/hyprlock.sh"
},
{
"label": "󰍃",
"command": "hyprctl dispatch exit"
},
{
"label": "󰀝",
"command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh"
},
{
"label": "󰝟",
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
}
]
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -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>

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
swaync 0.12/icons/music.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
swaync 0.12/icons/timer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
swaync 0.12/icons/vpn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

1
swaync 0.12/newfile Normal file
View File

@@ -0,0 +1 @@

7
swaync 0.12/style.css Normal file
View File

@@ -0,0 +1,7 @@
/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */
/* swaync colors - wallust from waybar.css */
@import '../../.config/waybar/colors.css';
/*@import '/home/beentang/Downloads/Rice/Swaync Default Configs/style_ori.css';*/
@import 'themes/control_center.css';
@import 'themes/notifications.css';

View File

@@ -0,0 +1,309 @@
@define-color text @on_surface;
@define-color background-alt alpha(@color1, .4);
@define-color selected @outline;
@define-color hover alpha(@selected, 1);
@define-color urgent @error;
*:not(progress):not(progressbar):not(trough){
color: @text;
all: unset;
font-size: 14px;
font-family: "JetBrains Mono Nerd Font";
transition: 200ms;
}
/* Avoid 'annoying' backgroud */
.blank-window {
background: transparent;
}
/* CONTROL CENTER ------------------------------------------------------------------------ */
.control-center {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 24px;
border: 1px solid @selected;
box-shadow: 0 0 10px 0 rgba(0,0,0,.6);
margin: 18px;
padding: 12px;
}
/* Notifications */
.control-center .notification-row .notification-background,
.control-center .notification-row .notification-background .notification.critical {
background-color: @on_secondary_fixed;
border: 1px solid @hover;
border-radius: 16px;
margin: 4px 0px;
padding: 4px;
box-shadow: none;
}
.control-center .notification-row .notification-background .notification.critical {
color: @urgent;
}
.control-center .notification-row .notification-background .notification .notification-content {
margin: 6px;
padding: 6px 6px 2px 2px;
}
.control-center .notification-row .notification-background .notification > *:last-child > * {
min-height: 3.4em;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action {
background: alpha(@selected, .6);
color: @text;
border-radius: 12px;
margin: 6px;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
background: @selected;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
background-color: @selected;
}
/* Buttons */
.control-center .notification-row .notification-background .close-button {
background: transparent;
border-radius: 6px;
color: @text;
margin: 0px;
padding: 4px;
}
.control-center .notification-row .notification-background .close-button:hover {
background-color: @selected;
}
.control-center .notification-row .notification-background .close-button:active {
background-color: @selected;
}
progressbar,
progress,
trough {
border-radius: 12px;
}
progressbar {
background-color: rgba(255,255,255,.1);
}
/* Notifications expanded-group */
.notification-group {
margin: 2px 8px 2px 8px;
}
.notification-group-headers {
font-weight: bold;
font-size: 1.25rem;
color: @text;
letter-spacing: 2px;
}
.notification-group-icon {
color: @text;
}
.notification-group-collapse-button,
.notification-group-close-all-button {
background: transparent;
color: @text;
margin: 4px;
border-radius: 6px;
padding: 4px;
}
.notification-group-collapse-button:hover,
.notification-group-close-all-button:hover {
background: @hover;
}
/* WIDGETS --------------------------------------------------------------------------- */
/* Notification clear button */
.widget-title {
font-size: 1.2em;
margin: 6px;
}
.widget-title button {
background: alpha(@primary_container, 0.5);
border-radius: 6px;
padding: 4px 16px;
}
.widget-title button:hover {
background-color: @hover;
}
.widget-title button:active {
background-color: @selected;
}
/* Do not disturb */
.widget-dnd {
margin: 6px 9px 6px 6px;
font-size: 1.2rem;
}
.widget-dnd > switch {
background: alpha(@primary_container, 0.75);
font-size: initial;
border-radius: 8px;
box-shadow: none;
padding: 2px;
}
.widget-dnd > switch:hover {
background: @hover;
}
.widget-dnd > switch:checked {
background: @on_primary;
}
.widget-dnd > switch:checked:hover {
background: @hover;
}
.widget-dnd > switch slider {
background: @text;
border-radius: 6px;
}
/* Buttons menu */
.widget-buttons-grid {
font-size: x-large;
padding: 6px 2px;
margin: 6px;
border-radius: 12px;
background: alpha(@primary_container, 0.5);
}
.widget-buttons-grid>flowbox>flowboxchild>button {
margin: 4px 10px;
padding: 6px 12px;
background: transparent;
border-radius: 8px;
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background: @hover;
}
/* Music player */
.widget-mpris {
background: alpha(@primary_container, .5);
border-radius: 16px;
color: @text;
margin: 20px 6px;
padding: 6px 6px 6px 6px;
}
.widget-mpris .widget-mpris-player .mpris-background {
filter: blur(10px);
}
.widget-mpris .widget-mpris-player .mpris-overlay {
padding: 10px;
background-color: rgba(0, 0, 0, 0.6);
}
/* NOTE: Background need *opacity 1* otherwise will turn into the album art blurred */
.widget-mpris-player {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 14px;
padding: 0px 0px;
margin: 6px;
}
.widget-mpris > box > button {
color: @text;
border-radius: 20px;
}
.widget-mpris button {
color: alpha(@text, .6);
}
.widget-mpris button:hover {
color: @text;
}
.widget-mpris-album-art {
border-radius: 12px;
margin: 6px
}
.widget-mpris-title {
font-weight: 700;
font-size: 1rem;
}
.widget-mpris-subtitle {
font-weight: 500;
font-size: 0.8rem;
}
/* Volume widget */
:root {
--widget-volume-row-icon-size: 24px;
}
.widget-volume {
padding: 8px;
margin: 8px;
border-radius: 12px;
}
/* Each row app icon */
.widget-volume row image {
-gtk-icon-size: var(--widget-volume-row-icon-size);
}
.per-app-volume {
background-color: var(--noti-bg-alt);
padding: 4px 8px 8px 8px;
margin: 0px 8px 8px 8px;
border-radius: 12px;
}
/* Slider widget */
.widget-slider {
padding: 8px;
margin: 8px;
border-radius: 12px;
}
.widget-slider label {
font-size: inherit;
}
/* Backlight widget */
.widget-backlight {
padding: 8px;
margin: 8px;
border-radius: 12px;
}
/* Inhibitors widget */
.widget-inhibitors > label {
margin: 8px;
font-size: 1.5rem;
}
.widget-inhibitors > button {
margin: 8px;
border-radius: 12px;
}

View File

@@ -0,0 +1,347 @@
@define-color noti-border-color @color12;
@define-color noti-bg rgba(0, 0, 0, 0.8);
@define-color noti-bg-alt @background-alt;
@define-color noti-bg-hover @background;
@define-color text-color @foreground;
* {
font-family: "JetBrains Mono Nerd Font";
font-weight: bold;
}
.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: 1px 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: 1px solid @noti-border-color;
border-top: none;
border-radius: 10px;
}
.notification-default-action:hover,
.notification-action:hover {
color: @text-color;
background: @noti-bg
}
.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: @noti-bg
}
.notification-action:last-child {
border-bottom-right-radius: 10px;
background: @noti-bg-alt
}
.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;
border: 1px solid transparent
}
.inline-reply-button:hover {
background: @noti-bg-hover
}
.body-image {
margin-top: 6px;
color: @text-color;
border-radius: 10px
}
.summary {
font-size: 1rem;
font-weight: bold;
background: transparent;
color: @text-color;
text-shadow: none
}
.time {
font-size: 1rem;
font-weight: bold;
background: transparent;
color: @text-color;
text-shadow: none;
margin-right: 18px
}
.body {
font-size: 1rem;
font-weight: bold;
background: transparent;
color: @text-color;
text-shadow: none
}
.control-center {
background: @noti-bg;
border: 1px solid @noti-border-color;
color: @text-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: @text-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;
}
/* clear button */
.widget-title>button:hover {
background: @text-color;
color: red;
}
.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;
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
}
/* individual buttons */
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background: @text-color;
color: @noti-bg-hover
}
.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: @noti-border-color;
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;
}

View File

@@ -0,0 +1,113 @@
@define-color text @inverse_surface;
@define-color background-alt @background;
@define-color selected @on_secondary;
@define-color hover @on_secondary_fixed_variant;
@define-color urgent @on_secondary_fixed;
*:not(progress):not(progressbar):not(trough){
/*background-alt: @color1; Buttons background */
/*selected: @color2; Button selected */
/*hover: @color5; Hover button */
/*urgent: @color6; Urgency critical */
/*text-selected: @background; */
color: @text;
all: unset;
font-size: 14px;
font-family: "JetBrains Mono Nerd Font";
transition: 200ms;
}
.notification-row {
outline: none;
margin: 0;
padding: 0px;
}
.floating-notifications.background .notification-row .notification-background {
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0 0 8px 0 rgba(0,0,0,.6);
border: 1px solid @selected;
border-radius: 24px;
margin: 16px;
padding: 0;
}
.floating-notifications.background .notification-row .notification-background .notification {
padding: 6px;
border-radius: 12px;
}
.floating-notifications.background .notification-row .notification-background .notification.critical {
border: 2px solid @urgent;
}
.floating-notifications.background .notification-row .notification-background .notification .notification-content {
margin: 14px;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * {
min-height: 3.4em;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action {
border-radius: 8px;
background-color: @background-alt ;
margin: 6px;
border: 1px solid transparent;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
background-color: @hover;
border: 1px solid @selected;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
background-color: @selected;
color: @background;
}
.image {
margin: 10px 20px 10px 0px;
border-radius: 10px;
}
.summary {
font-weight: 800;
font-size: 1rem;
}
.body {
font-size: 0.8rem;
}
.floating-notifications.background .notification-row .notification-background .close-button {
margin: 6px;
padding: 2px;
border-radius: 6px;
background-color: transparent;
border: 1px solid transparent;
}
.floating-notifications.background .notification-row .notification-background .close-button:hover {
background-color: @selected;
}
.floating-notifications.background .notification-row .notification-background .close-button:active {
background-color: @selected;
color: @background;
}
.notification.critical progress {
background-color: @error;
}
.notification.low progress,
.notification.normal progress {
background-color: alpha(@primary, 0.6);
}