rearrange hyprland config; change back to old waybar: adjust waybar colors; add btop

This commit is contained in:
2025-11-28 13:20:58 -08:00
parent e1f34cb767
commit 0042568e34
103 changed files with 8055 additions and 2825 deletions

60
swaync/config.json Normal file
View File

@@ -0,0 +1,60 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"ignore-gtk-theme": true,
"positionX": "left",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"layer-shell-cover-screen": true,
"cssPriority": "user",
"control-center-margin-top": 7,
"control-center-margin-bottom": 0,
"control-center-margin-right": 7,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-body-image-height": 150,
"notification-body-image-width": 700,
"timeout": 0,
"timeout-low": 0,
"timeout-critical": 0,
"fit-to-screen": false,
"relative-timestamps": true,
"control-center-width": 350,
"control-center-height": 800,
"notification-window-width": 350,
"keyboard-shortcuts": true,
"notification-grouping": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"text-empty": "No Notifications",
"script-fail-notify": true,
"widgets": [
"mpris",
"dnd",
"title",
"notifications"
],
"widget-config": {
"notifications": {
"vexpand": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": ""
},
"mpris": {
"blacklist": [],
"autohide": false,
"show-album-art": "always",
"loop-carousel": false
}
}
}

265
swaync/style.css Normal file
View File

@@ -0,0 +1,265 @@
/* Universal swaync - theme-independent, optimized for blur */
:root {
--cc-bg: rgba(20, 20, 20, 0.70); /* rgba(18, 18, 22, 0.70) */
--noti-bg: rgba(28, 28, 28, 0.72); /* rgba(28, 28, 32, 0.72) */
--noti-bg-hover: rgba(38, 38, 38, 0.75); /* rgba(38, 38, 44, 0.75) */
--noti-bg-focus: rgba(48, 48, 48, 0.78); /* rgba(48, 48, 54, 0.78) */
--noti-bg-floating: rgba(22, 22, 22, 0.74); /* rgba(22, 22, 26, 0.74) */
--noti-border-color: rgba(255, 255, 255, 0.10);
--noti-border-hover: rgba(255, 255, 255, 0.15);
--noti-border-focus: rgba(255, 255, 255, 0.20);
--button-bg: rgba(255, 255, 255, 0.10);
--button-hover: rgba(255, 255, 255, 0.15);
--button-active: rgba(255, 255, 255, 0.20);
--close-bg: rgba(255, 255, 255, 0.10);
--close-hover: rgba(255, 70, 70, 0.35);
--text-primary: rgba(255, 255, 255, 0.97);
--text-secondary: rgba(210, 210, 220, 0.88);
--text-disabled: rgba(160, 160, 170, 0.68);
--border-radius: 10px;
--transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-window, .blank-window { background: transparent; }
.control-center {
background: var(--cc-bg);
border-radius: var(--border-radius);
border: 1px solid var(--noti-border-color);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
padding: 2px;
}
.control-center scrollbar, .control-center scrollbar slider {
background: transparent;
opacity: 0;
}
/* MPRIS */
.widget-mpris { margin: 6px 6px 4px 6px; }
.widget-mpris > box > box {
background: var(--noti-bg);
border-radius: var(--border-radius);
border: 1px solid var(--noti-border-color);
padding: 10px;
}
.mpris-album-art {
border-radius: 6px;
margin-right: 10px;
min-width: 56px;
min-height: 56px;
}
.mpris-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 2px;
}
.mpris-artist {
font-size: 13px;
color: var(--text-secondary);
margin-bottom: 6px;
}
.mpris-controls button {
background: var(--button-bg);
border: none;
border-radius: 6px;
color: var(--text-primary);
min-width: 32px;
min-height: 32px;
margin: 0 3px;
transition: var(--transition);
}
.mpris-controls button:hover {
background: var(--button-hover);
transform: scale(1.05);
}
.mpris-controls button:active {
background: var(--button-active);
transform: scale(0.98);
}
/* Title */
.widget-title { margin: 4px 6px 4px 6px; }
.widget-title > box { padding: 6px; }
.widget-title > box > label {
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
}
.widget-title > box > button {
background: var(--button-bg);
border: 1px solid var(--noti-border-color);
border-radius: 6px;
padding: 4px 10px;
font-size: 12px;
color: var(--text-primary);
transition: var(--transition);
}
.widget-title > box > button:hover {
background: var(--button-hover);
border-color: var(--noti-border-hover);
transform: scale(1.02);
}
.widget-title > box > button:active {
background: var(--button-active);
border-color: var(--noti-border-focus);
}
/* DND */
.widget-dnd {
margin: 4px 6px 4px 6px;
/* REMOVED: text-align - not supported in GTK CSS */
}
.widget-dnd label {
/* REMOVED: display: none - use opacity instead */
opacity: 0;
min-width: 0;
min-height: 0;
}
.widget-dnd switch {
background: rgba(40, 40, 45, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
min-height: 24px;
min-width: 44px;
}
.widget-dnd switch:checked {
background: rgba(100, 120, 140, 0.35);
border-color: rgba(120, 140, 160, 0.4);
}
.widget-dnd switch slider {
background: rgba(200, 200, 210, 0.9);
border-radius: 50%;
min-width: 18px;
min-height: 18px;
margin: 3px;
}
.widget-dnd switch:checked slider { background: rgba(140, 160, 180, 1); }
/* Notifications */
.widget-notifications { margin: 2px; }
.notification-row {
background: none;
outline: none;
}
.notification-row .notification-background { padding: 3px; }
.notification-row .notification-background .notification {
background: var(--noti-bg);
border-radius: var(--border-radius);
border: 1px solid var(--noti-border-color);
margin: 3px 0;
transition: var(--transition);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.notification-row .notification-background .notification:hover {
background: var(--noti-bg-hover);
border-color: var(--noti-border-hover);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
transform: translateY(-1px);
}
.notification-row .notification-background .notification .notification-default-action {
padding: 10px;
color: var(--text-primary);
border-radius: var(--border-radius);
}
/* Floating */
.floating-notifications .notification {
background: var(--noti-bg-floating) !important;
border-radius: var(--border-radius);
border: 1px solid var(--noti-border-color);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
padding: 10px;
}
/* Content */
.notification .notification-content { padding: 3px; }
.notification .summary {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 3px;
}
.notification .body {
font-size: 13px;
color: var(--text-secondary);
margin-bottom: 3px;
}
.notification .time {
font-size: 11px;
color: var(--text-disabled);
}
.notification image {
border-radius: 6px;
margin-right: 10px;
min-width: 44px;
min-height: 44px;
}
.notification .body-image {
border-radius: 6px;
margin-top: 6px;
}
/* Close */
.close-button {
background: var(--close-bg);
color: var(--text-primary);
border-radius: 100%;
min-width: 22px;
min-height: 22px;
margin: 6px;
transition: var(--transition);
}
.close-button:hover {
background: var(--close-hover);
transform: scale(1.1);
}
.close-button:active { transform: scale(0.95); }
/* Groups */
.notification-group {
margin: 3px;
}
.notification-group.collapsed {
background: var(--noti-bg);
border-radius: var(--border-radius);
border: 1px solid var(--noti-border-color);
margin: 3px 0;
transition: var(--transition);
}
.notification-group.collapsed:hover {
background: var(--noti-bg-hover);
border-color: var(--noti-border-hover);
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.notification-group.collapsed .notification {
/* REMOVED: display: none - use opacity instead */
opacity: 0;
min-height: 0;
min-width: 0;
}
.notification-group-headers {
padding: 10px 12px;
margin: 0;
/* REMOVED: cursor - not supported in GTK CSS */
}
.notification-group-headers .notification-group-icon,
.notification-group-headers .notification-group-header {
color: var(--text-primary);
font-weight: 600;
font-size: 13px;
}
.notification-group-headers .notification-group-count {
color: var(--text-secondary);
font-size: 12px;
font-weight: 500;
}
/* Empty */
.blank-window label {
color: var(--text-disabled);
font-size: 13px;
font-style: italic;
}