Add a border

This commit is contained in:
Daniel Flanagan 2023-07-13 11:00:14 -05:00
parent b7eb3edb6b
commit f18a68dd7e
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 13 additions and 10 deletions

View file

@ -6,6 +6,7 @@
"modules-left": ["clock", "sway/window"], "modules-left": ["clock", "sway/window"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"modules-right": [ "modules-right": [
"mpris",
"idle_inhibitor", "idle_inhibitor",
"bluetooth", "bluetooth",
// "wireplumber", // "wireplumber",
@ -16,7 +17,6 @@
// "temperature", // "temperature",
"backlight", "backlight",
"battery", "battery",
"mpris",
"tray" "tray"
], ],
"bluetooth": { "bluetooth": {

View file

@ -1,30 +1,31 @@
@import "mocha.css"; @import "mocha.css";
* { * {
border: none;
border-radius: 0; border-radius: 0;
font-family: "IosevkaLyteTerm", "Symbols Nerd Font Mono", sans-serif; font-family: "IosevkaLyteTerm", "Symbols Nerd Font Mono", sans-serif;
font-size: 16px; font-size: 16px;
min-height: 0;
} }
window#waybar { window#waybar {
min-height: 32px;
background-color: @base; background-color: @base;
color: @crust; color: @crust;
border-top: solid @sapphire 1px;
transition: none; transition: none;
} }
window#waybar.hidden { window#waybar.hidden {
opacity: 0.2; /* opacity: 0.2; */
} }
window#waybar.empty { window#waybar.empty {
opacity: 0.2; /* opacity: 0.2; */
} }
#workspaces button { #workspaces button {
padding: 0 0.75em; padding: 0 0.75em;
background-color: transparent; background-color: transparent;
border-top: solid @sapphire 1px;
} }
#workspaces button:hover { #workspaces button:hover {
@ -39,15 +40,16 @@ window#waybar.empty {
} }
#workspaces button.focused { #workspaces button.focused {
background-color: #6c88a6; color: @base;
background-color: @sapphire;
} }
#workspaces button.persistent { #workspaces button.persistent {}
color: #666666;
}
#workspaces button.urgent { #workspaces button.urgent {
background-color: #bf7998; color: @base;
background-color: @red;
border-top: solid @red 1px;
} }
#mode { #mode {
@ -69,6 +71,7 @@ window#waybar.empty {
#mpris, #mpris,
#window, #window,
#mpd { #mpd {
margin-top: 1px;
padding: 0 0.75em; padding: 0 0.75em;
background-color: inherit; background-color: inherit;
color: @text; color: @text;