feat(waybar): rizing
This commit is contained in:
@@ -43,14 +43,29 @@
|
|||||||
},
|
},
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"format": "{id}",
|
"format": "{windows}",
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"disable-scroll": false,
|
"disable-scroll": false,
|
||||||
"active-only": false,
|
"active-only": false,
|
||||||
|
"window-rewrite": {
|
||||||
|
"class<firefox>": " ",
|
||||||
|
"class<app.zen_browser.zen>": " ",
|
||||||
|
"class<Code>": " ",
|
||||||
|
"class<Alacritty>": " ",
|
||||||
|
"class<Spotify>": " ",
|
||||||
|
"class<org.telegram.desktop>": " ",
|
||||||
|
"class<kitty>": " ",
|
||||||
|
"class<org.gnome.Nautilus>": " "
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"format": "{title}",
|
"format": "{title}",
|
||||||
|
"format-empty": " Desktop",
|
||||||
|
"icon": true,
|
||||||
|
"icon-size": 22,
|
||||||
|
"seperate-outputs": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"show-passive-items": true,
|
"show-passive-items": true,
|
||||||
"spacing": 10,
|
"spacing": 10,
|
||||||
@@ -123,6 +138,9 @@
|
|||||||
"format-icons": {
|
"format-icons": {
|
||||||
"none": "",
|
"none": "",
|
||||||
"notification": "",
|
"notification": "",
|
||||||
|
"dnd-notification": "",
|
||||||
|
"": "",
|
||||||
|
"inhibited": ""
|
||||||
},
|
},
|
||||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
|
|||||||
@@ -4,42 +4,70 @@
|
|||||||
* {
|
* {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
font-family: "Adwaita Sans", "JetBrainsMono Nerd Font";
|
font-family: "Lexend", "JetBrainsMono Nerd Font";
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.empty #window {
|
#window {
|
||||||
background-color: transparent;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0.1rem 0.6rem;
|
padding-left: 8px;
|
||||||
margin: 0.1rem 0.25rem;
|
padding-right: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 4px;
|
||||||
|
|
||||||
|
min-height: 10px;
|
||||||
|
min-width: 24px;
|
||||||
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
background-color: alpha(@bg, 0.6);
|
background: alpha(@bg, 0.8);
|
||||||
color: #cdd6f4;
|
|
||||||
|
transition:
|
||||||
|
all 180ms cubic-bezier(.4,0,.2,1),
|
||||||
|
color 800ms cubic-bezier(.4, 0, .2, 1);
|
||||||
|
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button label {
|
||||||
|
font-size: 20px;
|
||||||
|
letter-spacing: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
color: #1e1e2e;
|
background: rgba(255,255,255,0.45);
|
||||||
background-color: alpha(#cdd6f4, 0.3);
|
background: alpha(@bg,0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background-color: alpha(@accent, 0.6);
|
min-width: 34px;
|
||||||
color: black
|
background: white;
|
||||||
|
background: alpha(@bg,0.8);
|
||||||
|
color: white;
|
||||||
|
border: 2px solid alpha(grey, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.visible {
|
||||||
|
background: alpha(@bg,0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: alpha(@bg, 0.5);
|
background: #ff5f5f;
|
||||||
color: #f38ba8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
|
|||||||
Reference in New Issue
Block a user