1
0

Hyprland stuff and some new scripts

This commit is contained in:
2025-04-03 18:42:13 +02:00
parent 7d010f25de
commit 73bb89330a
15 changed files with 463 additions and 11 deletions

View File

@ -0,0 +1,74 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": 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": 64,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"timeout": 2,
"timeout-low": 2,
"timeout-critical": 5,
"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": true,
"hide-on-action": true,
"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": {
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 5,
"text": "Label Text"
},
"buttons-grid": {
"actions": [
{
"label": "FFFFF",
"type": "toggle",
"active": true
}
]
}
}
}

View File

@ -0,0 +1,313 @@
* {
all: unset;
font-family: FiraCode Nerd Font;
transition: 0.3s;
font-size: 1.2rem;
}
.floating-notifications.background .notification-row {
padding: 1rem;
}
.floating-notifications.background .notification-row .notification-background {
border-radius: 0.5rem;
background-color: #232136;
color: #e0def4;
border: 1px solid #6e6a86;
}
.floating-notifications.background
.notification-row
.notification-background
.notification {
padding: 0.5rem;
border-radius: 0.5rem;
}
.floating-notifications.background
.notification-row
.notification-background
.notification.critical {
border: 1px solid #eb6f92;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
.notification-content
.summary {
margin: 0.5rem;
color: #e0def4;
font-weight: bold;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
.notification-content
.body {
margin: 0.5rem;
color: #908caa;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
> *:last-child
> * {
min-height: 3rem;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action {
border-radius: 0.5rem;
color: #e0def4;
background-color: #2a273f;
border: 1px solid #6e6a86;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action:hover {
background-color: #393552;
}
.floating-notifications.background
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action:active {
background-color: #6e6a86;
}
.floating-notifications.background
.notification-row
.notification-background
.close-button {
margin: 0.5rem;
padding: 0.25rem;
border-radius: 0.5rem;
color: #e0def4;
background-color: #eb6f92;
}
.floating-notifications.background
.notification-row
.notification-background
.close-button:hover {
color: #232136;
}
.floating-notifications.background
.notification-row
.notification-background
.close-button:active {
background-color: #ea9a97;
}
.control-center {
border-radius: 0.5rem;
margin: 1rem;
background-color: #232136;
color: #e0def4;
padding: 1rem;
border: 1px solid #6e6a86;
}
.control-center .widget-title {
color: #ea9a97;
font-weight: bold;
}
.control-center .widget-title button {
border-radius: 0.5rem;
color: #e0def4;
background-color: #2a273f;
border: 1px solid #6e6a86;
padding: 0.5rem;
}
.control-center .widget-title button:hover {
background-color: #393552;
}
.control-center .widget-title button:active {
background-color: #6e6a86;
}
.control-center .notification-row .notification-background {
border-radius: 0.5rem;
margin: 0.5rem 0;
background-color: #2a273f;
color: #e0def4;
border: 1px solid #6e6a86;
}
.control-center .notification-row .notification-background .notification {
padding: 0.5rem;
border-radius: 0.5rem;
}
.control-center
.notification-row
.notification-background
.notification.critical {
border: 1px solid #eb6f92;
}
.control-center
.notification-row
.notification-background
.notification
.notification-content {
color: #e0def4;
}
.control-center
.notification-row
.notification-background
.notification
.notification-content
.summary {
margin: 0.5rem;
color: #e0def4;
font-weight: bold;
}
.control-center
.notification-row
.notification-background
.notification
.notification-content
.body {
margin: 0.5rem;
color: #908caa;
}
.control-center
.notification-row
.notification-background
.notification
> *:last-child
> * {
min-height: 3rem;
}
.control-center
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action {
border-radius: 0.5rem;
color: #e0def4;
background-color: #2a273f;
border: 1px solid #6e6a86;
}
.control-center
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action:hover {
background-color: #393552;
}
.control-center
.notification-row
.notification-background
.notification
> *:last-child
> *
.notification-action:active {
background-color: #6e6a86;
}
.control-center .notification-row .notification-background .close-button {
margin: 0.5rem;
padding: 0.25rem;
border-radius: 0.5rem;
color: #e0def4;
background-color: #eb6f92;
}
.control-center .notification-row .notification-background .close-button:hover {
color: #232136;
}
.control-center
.notification-row
.notification-background
.close-button:active {
background-color: #ea9a97;
}
progressbar,
progress,
trough {
border-radius: 0.5rem;
}
.notification.critical progress {
background-color: #eb6f92;
}
.notification.low progress,
.notification.normal progress {
background-color: #9ccfd8;
}
trough {
background-color: #2a273f;
}
.control-center trough {
background-color: #6e6a86;
}
.control-center-dnd {
margin: 1rem 0;
border-radius: 0.5rem;
}
.control-center-dnd slider {
background: #393552;
border-radius: 0.5rem;
}
.widget-dnd {
color: #908caa;
}
.widget-dnd > switch {
border-radius: 0.5rem;
background: #393552;
border: 1px solid #6e6a86;
}
.widget-dnd > switch:checked slider {
background: #3e8fb0;
}
.widget-dnd > switch slider {
background: #6e6a86;
border-radius: 0.5rem;
margin: 0.25rem;
}