This commit is contained in:
sankalp committed 2024-05-08 21:58:50 +05:45
1 parent a5f54a1756
commit 693aaa8f61
2 files changed
+339 -155

No files matched your search

Executable → Regular
+19 -69
View File
@@ -1,18 +1,12 @@
{
"$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,
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "bottom",
"control-center-margin-top": 0,
"control-center-margin-bottom": 10,
"control-center-margin-right": 0,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-icon-size": 50,
"notification-icon-size": 30,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"timeout": 6,
@@ -20,81 +14,37 @@
"timeout-critical": 0,
"fit-to-screen": false,
"control-center-width": 350,
"control-center-height": 720,
"notification-window-width": 400,
"control-center-height": 600,
"notification-window-width": 350,
"keyboard-shortcuts": true,
"image-visibility": "when available",
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-clear": true,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"dnd",
"buttons-grid",
"mpris",
"volume",
"backlight",
"title",
"notifications"
"dnd",
"notifications",
"mpris"
],
"widget-config": {
"title": {
"text": "Notifications",
"text": "󰂚 :: Notifications",
"clear-all-button": true,
"button-text": "Clear"
"button-text": "󰎟 "
},
"dnd": {
"text": "Do Not Disturb"
"text": "Leave me alone!!"
},
"label": {
"max-lines": 1,
"text": "Notification"
"text": "Notification Center"
},
"mpris": {
"image-size": 10,
"image-size": 50,
"image-radius": 0
},
"volume": {
"label": "🔉"
},
"backlight": {
"label": "🔅"
},
"buttons-grid": {
"actions": [
{
"label": "󰐥",
"command": "systemctl poweroff"
},
{
"label": "󰜉",
"command": "systemctl reboot"
},
{
"label": "󰌾",
"command": "~/.config/hypr/scripts/RunCMD.sh lock"
},
{
"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": "blueberry"
}
]
}
}
}
+320 -86
View File
@@ -1,185 +1,419 @@
@define-color cc-bg #191919;
@define-color noti-border-color #47423E;
@define-color noti-bg #121212;
@define-color noti-bg-darker #121212;
@define-color noti-bg-hover #000000;
@define-color noti-bg-focus #000000;
@define-color noti-close-bg #1B1D1D;
@define-color noti-close-bg-hover #000000;
@define-color text-color #E0CDA5;
@define-color text-color-disabled #928374;
@define-color bg-selected #1B1D1D;
@define-color bgc rgba(0, 0, 0, 0.8);
@define-color borderc #44475a;
@define-color textc rgb(159, 168, 218);
@define-color black #1C1B19;
@define-color red #F75341;
@define-color green #519F50;
@define-color yellow #FBB829;
@define-color blue #2C78BF;
@define-color purple #E02C6D;
@define-color aqua #0AAEB3;
@define-color gray #BEAC8E;
@define-color brgray #928374;
@define-color brred #F3594B;
@define-color brgreen #B1B946;
@define-color bryellow #E9B243;
@define-color brblue #80AA9E;
@define-color brpurple #D3869B;
@define-color braqua #8CBA7F;
@define-color white #BAA67F;
@define-color bg2 #504945;
* {
font-family: JetBrains Mono;
font-weight: bold;
font-size: 14px
font-family: Iosevka Nerd Font;
/* font-weight: bolder; */
}
.control-center .notification-row:focus,
.control-center .notification-row:hover {
opacity: 1;
background: rgba(0, 0, 0, 0.8)
}
.notification-row {
outline: none;
background: alpha(@red, 0.25);
border-radius: 0px;
margin: 0px;
padding: 0;
}
.notification {
margin: 0px;
border-radius: 10px;
padding: 0;
border: 1px solid @noti-close-bg;
background: @noti-bg-darker;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
}
.notification-content {
background: @textc;
padding: 7px;
margin: 0;
background: transparent;
padding: 10px;
}
.close-button {
background: @textc;
color: @bgc;
background: @noti-close-bg;
color: @red;
text-shadow: none;
padding: 0;
border-radius: 20px;
margin-top: 5px;
margin-right: 5px;
border-radius: 100%;
margin-top: 20px;
margin-right: 13px;
box-shadow: none;
border: none;
min-width: 24px;
min-height: 24px
}
.close-button:hover {
box-shadow: none;
background: @bgc;
color: @textc;
background: @noti-close-bg-hover;
transition: all .15s ease-in-out;
border: none
}
.notification-default-action,
.notification-action {
color: @textc;
border-top: none;
border-radius: 0px 0px 20px 20px;
background: @bgc;
padding: 4px;
margin: 0;
box-shadow: none;
background: @noti-bg;
border: none;
color: @text-color;
transition: all .15s ease-in-out;
font-size: 11pt;
}
.notification-default-action:hover,
.notification-action:hover {
color: @bgc;
background: @textc;
-gtk-icon-effect: none;
background: @noti-bg-hover;
/* text-shadow: 0 0 3px @text-color; */
}
.notification-default-action {
border-radius: 8px
}
.notification-default-action:not(:only-child) {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0
}
.notification-action {
border-radius: 0;
border-top: none;
border-right: none
}
.notification-action:first-child {
border-bottom-left-radius: 10px;
background: @bgblack
}
.notification-action:last-child {
border-bottom-right-radius: 10px;
background: @bgblack
}
.notification-group-headers {
font-weight: bold;
font-size: 11pt;
color: @white;
}
.notification-group-icon {
color: @red;
margin-right: 8px;
}
.notification-group-collapse-button {
background: @noti-close-bg;
border: none;
min-width: 24px;
min-height: 24px;
}
.notification-group-collapse-button:hover {
background: @noti-close-bg-hover;
color: @red;
}
.notification-group-close-all-button {
background: @noti-close-bg;
border: none;
min-width: 24px;
min-height: 24px;
}
.notification-group-close-all-button:hover {
background: @noti-close-bg-hover;
color: @red
}
.inline-reply {
margin-top: 8px
}
.inline-reply-entry {
background: @noti-bg-darker;
color: @text-color;
caret-color: @text-color;
border: 1px solid @noti-border-color;
border-radius: 10px
}
.inline-reply-button {
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: 0px;
background-color: transparent;
border-radius: 10px
}
.summary {
padding-top: 7px;
font-size: 13px;
color: @bgc;
font-size: 11pt;
font-weight: bold;
font-style: italic;
background: transparent;
color: @purple;
margin-left: 10px;
/* text-shadow: 0 0 3px @red; */
}
.time {
font-size: 11px;
color: @bgc;
margin-right: 24px
font-size: 11pt;
font-weight: bold;
font-style: italic;
background: transparent;
color: @blue;
text-shadow: none;
margin-right: 10px
}
.body {
font-size: 12px;
color: @bgc;
font-size: 11pt;
font-weight: normal;
background: transparent;
color: @text-color;
text-shadow: none;
font-weight: bold;
margin-left: 10px;
}
.image {
background: transparent;
border-radius: 8px;
}
.control-center {
background-color: @bgc;
background: alpha(@cc-bg, 0.9);
border: 1px solid @noti-close-bg;
border-radius: 10px;
margin: 10px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 1);
}
.control-center-list {
background: transparent
background: transparent;
}
.control-center-list-placeholder {
opacity: .5
}
.floating-notifications {
background: transparent
.floating-notifications .notification-row {
background: transparent;
margin: 15px 10px 0 0;
}
.blank-window {
background: alpha(black, 0.1)
background: alpha(black, 0.0)
}
.widget-title {
color: @textc;
background: @bgc;
padding: 10px 10px;
margin: 10px 10px 5px 10px;
font-size: 1.5rem;
border-radius: 10px;
}
.widget-volume {
border: 3px solid @borderc;
border-radius: 10px;
color: #2f88ff;
margin: 20px 20px 5px 20px;
font-size: 11pt;
font-weight: bold;
font-style: italic;
/* text-shadow: 0 0 3px @red; */
}
.widget-title>button {
font-size: 1rem;
color: @textc;
padding: 10px;
font-size: initial;
font-weight: bold;
font-family: 'Symbols Nerd Font';
color: @purple;
text-shadow: none;
background: @bgc;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 10px;
}
.widget-title>button:hover {
background: @textc;
color: @bgc;
background: @noti-bg-hover;
/* text-shadow: 0 0 3px @brgreen; */
}
.widget-dnd {
background: @bgc;
padding: 10px 10px;
margin: 10px 10px 10px 10px;
border-radius: 20px;
font-size: large;
color: @textc;
color: @text-color;
margin: 5px 20px 5px 20px;
font-size: 11pt;
font-weight: bold;
}
.widget-dnd>switch {
border-radius: 20px;
background: @textc;
font-size: initial;
border-radius: 999px;
background: @gray;
/* border: 1px solid @bgblack; */
box-shadow: none;
padding: 1px;
transition: all .1s ease-in-out;
}
.widget-dnd>switch:checked {
background: #d79921;
background: @purple
}
.widget-dnd>switch slider {
background: @bgc;
border-radius: 10px
}
.widget-dnd>switch:checked slider {
background: @bgc;
border-radius: 10px
background: @noti-bg-hover;
border-radius: 999px
}
.widget-label {
margin: 10px 10px 10px 10px;
margin: 10px;
}
.widget-label>label {
font-size: 1rem;
color: @textc;
font-size: 1.5rem;
color: @text-color;
}
.widget-mpris {
background: #3c3836;
color: @textc;
padding: 5px 5px 5px 5px;
color: @text-color;
background: @noti-bg-darker;
padding: 10px;
margin: 10px;
border-radius: 10px;
}
.widget-mpris > box > button {
border-radius: 10px;
.widget-mpris-player {
padding: 8px;
margin: 8px
}
.widget-mpris-player {
padding: 5px 5px;
margin: 10px
.widget-mpris-title {
font-weight: 700;
font-size: 1.25rem
}
.widget-mpris-subtitle {
font-size: 1.1rem
}
.widget-buttons-grid {
font-size: x-large;
padding: 8px;
margin: 20px 10px 10px;
border-radius: 10px;
background: @noti-bg-darker;
}
.widget-buttons-grid>flowbox>flowboxchild>button {
margin: 3px;
background: @noti-bg-hover;
border-radius: 10px;
color: @text-color
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
/* background: @noti-bg-hover; */
color: @brgreen;
/* text-shadow: 0 0 3px @white; */
}
.widget-menubar>box>.menu-button-bar>button {
border: none;
background: transparent
}
.topbar-buttons>button {
border: none;
background: transparent
}
.widget-volume {
background: @noti-bg-darker;
padding: 8px;
margin: 10px;
border-radius: 10px;
font-size: x-large;
color: @text-color
}
.widget-volume>box>button {
background: transparent;
border: none
}
.per-app-volume {
background-color: @noti-bg;
padding: 4px 8px 8px;
margin: 0 8px 8px;
border-radius: 10px
}
.widget-backlight {
background: @noti-bg-darker;
padding: 8px;
margin: 10px;
border-radius: 10px;
font-size: x-large;
color: @text-color
}
.widget-inhibitors {
margin: 8px;
font-size: 1.5rem
}
.widget-inhibitors>button {
font-size: initial;
color: @text-color;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 10px
}
.widget-inhibitors>button:hover {
background: @noti-bg-hover
}