Prettier wayvar
This commit is contained in:
1 parent
6a21e907fd
commit
e81a66f6e6
2 files changed
+35
-38
No files matched your search
@@ -30,15 +30,6 @@ window-rule {
|
||||
open-focused true
|
||||
}
|
||||
|
||||
// Nix Setup
|
||||
workspace "nix-setup" {
|
||||
open-on-output "eDP-1"
|
||||
}
|
||||
|
||||
workspace "homelab" {
|
||||
open-on-output "eDP-1"
|
||||
}
|
||||
|
||||
// =========================
|
||||
// Outputs
|
||||
// =========================
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
* {
|
||||
font-family: "Fira Code";
|
||||
font-family: "Fira Code", "SF Pro Display", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -12,14 +12,14 @@ window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* === Reset button styles === */
|
||||
button {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
transition-property: none;
|
||||
transition: background-color 0.15s ease, border-color 0.15s ease;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
@@ -29,56 +29,62 @@ button:hover {
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
/* === Workspaces as a tray === */
|
||||
#workspaces {
|
||||
margin: 0 10px;
|
||||
padding: 0 4px;
|
||||
background: transparent;
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
|
||||
/* tray shelf line */
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
background-color: transparent;
|
||||
background: transparent;
|
||||
color: #ffffff;
|
||||
margin: 0 6px;
|
||||
padding: 6px 10px;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
border-bottom: 2px solid #eb4d4b;
|
||||
/* urgent = red underline */
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.modules-left>widget:first-child>#workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.modules-right>widget:last-child>#workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
|
||||
/* === Taskbar as a tray === */
|
||||
#taskbar {
|
||||
background-color: rgba(30, 30, 46, 0.6);
|
||||
border-radius: 20px;
|
||||
padding: 5px;
|
||||
background: transparent;
|
||||
margin: 0 10px;
|
||||
padding: 0 4px;
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
|
||||
/* tray shelf line */
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
color: #f0f0ff;
|
||||
border-radius: 5px;
|
||||
margin: 0 6px;
|
||||
padding: 6px 10px;
|
||||
border-radius: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background-color: rgba(49, 50, 68, 0.6);
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: rgba(88, 91, 112, 0.6);
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
#taskbar button.active:hover {
|
||||
background-color: rgba(108, 112, 134, 0.6);
|
||||
border-bottom: 2px solid rgba(255, 255, 255, 1.0);
|
||||
}
|
||||
Reference in new issue
Block a user