mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Adjust workspace button padding and persistent workspace count for improved layout
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
"10": "10"
|
"10": "10"
|
||||||
},
|
},
|
||||||
"persistent-workspaces": {
|
"persistent-workspaces": {
|
||||||
"*": 5
|
"*": 3
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -15,33 +15,26 @@ window#waybar {
|
|||||||
#workspaces {
|
#workspaces {
|
||||||
background: rgba(49, 50, 68, 0.7);
|
background: rgba(49, 50, 68, 0.7);
|
||||||
margin: 5px 5px 5px 10px;
|
margin: 5px 5px 5px 10px;
|
||||||
padding: 0px 5px;
|
padding: 2px 2px;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
border: 2px solid rgba(137, 180, 250, 0.5);
|
border: 2px solid rgba(137, 180, 250, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0px 10px;
|
/* padding: 0px 10px; */
|
||||||
margin: 1px 3px;
|
aspect-ratio: 1 / 1;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 1px 1px;
|
||||||
color: #cdd6f4;
|
color: #cdd6f4;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:nth-child(1) {
|
|
||||||
border-top-left-radius: 100%;
|
|
||||||
border-bottom-left-radius: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:nth-last-child(1) {
|
|
||||||
border-top-right-radius: 100%;
|
|
||||||
border-bottom-right-radius: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background: rgba(137, 180, 250, 0.3);
|
background: rgba(137, 180, 250, 0.3);
|
||||||
color: #89b4fa;
|
color: #89b4fa;
|
||||||
box-shadow: 0 0 15px rgba(137, 180, 250, 0.4);
|
box-shadow: 0 0 15px rgba(137, 180, 250, 0.4);
|
||||||
|
padding: 0px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user