Updated QuickSettings, added list of nmcli vpn connections with functionality for toggling the vpn connection

This commit is contained in:
pascalyazid committed 2026-07-29 21:21:51 +02:00
1 parent ea17c08587
commit 81de20ca68
4 files changed
+172 -33

No files matched your search

+55 -13
View File
@@ -3,7 +3,6 @@
$fg-color: wal.$foreground;
$bg-color: rgba(wal.$background, 0.8);
// Unified sizing variables
$btn-height: 30px;
$btn-radius: 8px;
$btn-margin: 4px 2px;
@@ -27,18 +26,12 @@ window.Bar {
padding: 0 4px;
}
// Base button styling for absolute uniformity
button {
border-radius: $btn-radius;
margin: $btn-margin;
min-height: $btn-height;
transition: all 0.2s ease-in-out;
background: rgba(
150,
150,
150,
0.1
); // Slight base background for all buttons
background: rgba(150, 150, 150, 0.1);
border: none;
box-shadow: none;
@@ -49,14 +42,14 @@ window.Bar {
.workspaces {
.workspace-btn {
min-width: $btn-height; // Base square size
min-width: $btn-height;
padding: 0;
border-radius: 100px; // Pill shape instead of blocky squares
border-radius: 100px;
background-color: transparent;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
&.active {
min-width: 45px; // Horizontal expansion, slightly less wide
min-width: 45px;
background-color: wal.$color2;
color: wal.$background;
}
@@ -108,12 +101,11 @@ window.Bar {
}
}
// Icon-only control buttons (wallpaper, settings, power, etc)
.control-btn,
.wallpaper-btn,
.power-btn {
min-width: $btn-height;
padding: 0; // Square buttons should have 0 padding, width handles size
padding: 0;
image {
-gtk-icon-size: $icon-size;
}
@@ -215,3 +207,53 @@ window.PowerMenu {
transition: all 0.2s ease-in-out;
}
}
.media-controls {
.media-ctrl-btn {
border-radius: 50%;
min-width: 40px;
min-height: 40px;
padding: 0;
background: rgba(wal.$foreground, 0.08);
border: 1px solid rgba(wal.$foreground, 0.1);
transition: all 0.2s ease-in-out;
&:hover {
background: rgba(wal.$foreground, 0.18);
transform: scale(1.08);
}
&:active {
transform: scale(0.95);
background: rgba(wal.$foreground, 0.25);
}
}
.play-pause-btn {
min-width: 48px;
min-height: 48px;
background: wal.$color2;
color: wal.$background;
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
&:hover {
background: rgba(wal.$color2, 0.85);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
image {
color: wal.$background;
}
}
.skip-btn {
background: transparent;
border: 1.5px solid rgba(wal.$foreground, 0.2);
&:hover {
background: rgba(wal.$foreground, 0.1);
border-color: rgba(wal.$foreground, 0.35);
}
}
}