mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-01 13:00:38 -04:00
sway updates
This commit is contained in:
parent
15b0c51da0
commit
21afe6712f
4 changed files with 529 additions and 76 deletions
|
@ -1,94 +1,102 @@
|
|||
{
|
||||
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "center",
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"layer": "overlay",
|
||||
"control-center-margin-top": 10,
|
||||
"control-center-margin-bottom": 10,
|
||||
"control-center-margin-right": 10,
|
||||
"control-center-margin-left": 1410,
|
||||
"control-center-margin-left": 10,
|
||||
"notification-icon-size": 64,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout": 3,
|
||||
"timeout-low": 2,
|
||||
"timeout-critical": 0,
|
||||
"fit-to-screen": false,
|
||||
"control-center-width": 500,
|
||||
"control-center-height": 800,
|
||||
"notification-window-width": 500,
|
||||
"control-center-width": 420,
|
||||
"control-center-height": 900,
|
||||
"notification-window-width": 440,
|
||||
"keyboard-shortcuts": true,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
"hide-on-clear": false,
|
||||
"hide-on-clear": true,
|
||||
"hide-on-action": true,
|
||||
"script-fail-notify": true,
|
||||
"widgets": ["title", "dnd", "notifications", "mpris", "buttons-grid"],
|
||||
"widgets": [
|
||||
"title",
|
||||
"dnd",
|
||||
"notifications",
|
||||
"mpris",
|
||||
"volume",
|
||||
"buttons-grid"
|
||||
],
|
||||
"widget-config": {
|
||||
"title": {
|
||||
"text": "Notification Center",
|
||||
"clear-all-button": true,
|
||||
"button-text": " Clear All"
|
||||
},
|
||||
"dnd": {
|
||||
"text": "Do Not Disturb"
|
||||
},
|
||||
"label": {
|
||||
"max-lines": 1,
|
||||
"text": "Notification Center"
|
||||
},
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 7
|
||||
},
|
||||
"volume": {
|
||||
"label": ""
|
||||
},
|
||||
"backlight": {
|
||||
"label": ""
|
||||
},
|
||||
"buttons-grid": {
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl poweroff"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprlock"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprctl dispatch exit"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl suspend"
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"text": "Notification Center",
|
||||
"clear-all-button": true,
|
||||
"button-text": " Clear All"
|
||||
},
|
||||
"dnd": {
|
||||
"text": "Do Not Disturb"
|
||||
},
|
||||
"label": {
|
||||
"max-lines": 1,
|
||||
"text": "Notification Center"
|
||||
},
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 7
|
||||
},
|
||||
"volume": {
|
||||
"label": "",
|
||||
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "iwgtk"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "blueman-manager"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "kooha"
|
||||
}
|
||||
]
|
||||
}
|
||||
"show-per-app": true
|
||||
},
|
||||
"buttons-grid": {
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl poweroff"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "$HOME/.config/hypr/scripts/lock-session.sh"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprctl dispatch exit"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl suspend"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "swayosd-client --output-volume mute-toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "swayosd-client --input-volume mute-toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "$HOME/.local/bin/shved/rofi-menus/wifi-menu.sh"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "blueman-manager"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "obs"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
94
.config/swaync/config.json.bak
Normal file
94
.config/swaync/config.json.bak
Normal file
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "center",
|
||||
"positionY": "top",
|
||||
"control-center-margin-top": 10,
|
||||
"control-center-margin-bottom": 10,
|
||||
"control-center-margin-right": 10,
|
||||
"control-center-margin-left": 1410,
|
||||
"notification-icon-size": 64,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout-critical": 0,
|
||||
"fit-to-screen": false,
|
||||
"control-center-width": 200,
|
||||
"control-center-height": 800,
|
||||
"notification-window-width": 500,
|
||||
"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", "buttons-grid"],
|
||||
"widget-config": {
|
||||
"title": {
|
||||
"text": "Notification Center",
|
||||
"clear-all-button": true,
|
||||
"button-text": " Clear All"
|
||||
},
|
||||
"dnd": {
|
||||
"text": "Do Not Disturb"
|
||||
},
|
||||
"label": {
|
||||
"max-lines": 1,
|
||||
"text": "Notification Center"
|
||||
},
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 7
|
||||
},
|
||||
"volume": {
|
||||
"label": ""
|
||||
},
|
||||
"backlight": {
|
||||
"label": ""
|
||||
},
|
||||
"buttons-grid": {
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl poweroff"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprlock"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprctl dispatch exit"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "systemctl suspend"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "iwgtk"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "blueman-manager"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "kooha"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
.control-center .notification-row:focus,
|
||||
.control-center .notification-row:hover {
|
||||
opacity: 1;
|
||||
background: @color0;
|
||||
background: alpha(@color0, 0.5);
|
||||
}
|
||||
|
||||
.notification-row {
|
||||
|
|
351
.config/swaync/style.css.bak
Normal file
351
.config/swaync/style.css.bak
Normal file
|
@ -0,0 +1,351 @@
|
|||
@import '../../.cache/wal/colors-waybar.css';
|
||||
|
||||
* {
|
||||
|
||||
font-family: JetBrainsMono NFP;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.control-center .notification-row:focus,
|
||||
.control-center .notification-row:hover {
|
||||
opacity: 1;
|
||||
background: @color0;
|
||||
}
|
||||
|
||||
.notification-row {
|
||||
outline: none;
|
||||
margin: 10px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.notification {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.notification-content {
|
||||
background: @color1;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
border: 2px solid @color7;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.notification-default-action {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.close-button {
|
||||
background: #f7768e;
|
||||
color: @cc-bg;
|
||||
text-shadow: none;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
margin-top: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.close-button:hover {
|
||||
box-shadow: none;
|
||||
background: #f7768e;
|
||||
transition: all 0.15s ease-in-out;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.notification-action {
|
||||
border: 2px solid @color7;
|
||||
border-top: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.notification-default-action:hover,
|
||||
.notification-action:hover {
|
||||
color: #7aa2f7;
|
||||
background: #7aa2f7;
|
||||
}
|
||||
|
||||
.notification-default-action {
|
||||
border-radius: 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.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: @color1;
|
||||
color: @color7;
|
||||
caret-color: @color7;
|
||||
border: 1px solid @color7;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.inline-reply-button {
|
||||
margin-left: 4px;
|
||||
background: @noti-bg;
|
||||
border: 1px solid @color7;
|
||||
border-radius: 5px;
|
||||
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;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.summary {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
color: @color7;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
color: @text-color;
|
||||
text-shadow: none;
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
.body {
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
background: transparent;
|
||||
color: @color6;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.control-center {
|
||||
background: @background;
|
||||
border: 2px solid @color6;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.control-center-list {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.control-center-list-placeholder {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.floating-notifications {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.blank-window {
|
||||
background: @transparent;
|
||||
}
|
||||
|
||||
/* Notification Center Title */
|
||||
.widget-title {
|
||||
color: @color7;
|
||||
background: @color1;
|
||||
padding: 5px 10px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 5px;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
/* Clear All Button */
|
||||
.widget-title > button {
|
||||
font-size: 1rem;
|
||||
color: @foreground;
|
||||
text-shadow: none;
|
||||
background: @color1;
|
||||
box-shadow: none;
|
||||
border-radius: 5px;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
/* Clear All Button - Hover */
|
||||
.widget-title > button:hover {
|
||||
background: @color1;
|
||||
color: @color6;
|
||||
}
|
||||
|
||||
.widget-dnd {
|
||||
background: @color1;
|
||||
padding: 5px 10px;
|
||||
margin: 5px 10px 10px 10px;
|
||||
border-radius: 5px;
|
||||
font-size: large;
|
||||
color: @color7;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
.widget-dnd > switch {
|
||||
border-radius: 5px;
|
||||
border: 1px solid @color7;
|
||||
background: @color1;
|
||||
}
|
||||
|
||||
.widget-dnd > switch:checked {
|
||||
background: #f7768e;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.widget-dnd > switch slider {
|
||||
background: @color7;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.widget-dnd > switch:checked slider {
|
||||
background: @cc-bg;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.widget-label {
|
||||
margin: 10px 10px 5px 10px;
|
||||
}
|
||||
|
||||
.widget-label > label {
|
||||
font-size: 1rem;
|
||||
color: @color1;
|
||||
}
|
||||
|
||||
.widget-mpris {
|
||||
color: @color7;
|
||||
background: @color1;
|
||||
padding: 5px 10px;
|
||||
margin: 5px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
.widget-mpris > box > button {
|
||||
border-radius: 5px;
|
||||
/* border: 2px solid @color7; */
|
||||
color: @color7;
|
||||
}
|
||||
|
||||
.widget-mpris-player {
|
||||
padding: 5px 10px;
|
||||
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: 5px;
|
||||
margin: 5px 10px 10px 10px;
|
||||
border-radius: 5px;
|
||||
background: @background;
|
||||
border: 2px solid @color7;
|
||||
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button {
|
||||
margin: 3px;
|
||||
background: @color1;
|
||||
border-radius: 5px;
|
||||
color: @color7;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
|
||||
background: @color2;
|
||||
color: @color6;
|
||||
border: 2px solid @color7;
|
||||
}
|
||||
|
||||
.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: 5px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
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: 5px;
|
||||
}
|
||||
|
||||
.widget-backlight {
|
||||
background: @noti-bg-darker;
|
||||
padding: 5px;
|
||||
margin: 10px 10px 5px 10px;
|
||||
border-radius: 5px;
|
||||
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 red;
|
||||
box-shadow: none;
|
||||
border-radius: 7px
|
||||
}
|
||||
|
||||
.widget-inhibitors>button:hover {
|
||||
background: @noti-bg-hover
|
||||
} */
|
Loading…
Add table
Add a link
Reference in a new issue