mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-03-20 06:11:27 -07:00
update waybar
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
"custom/firefox-scroll",
|
||||
"hyprland/submap",
|
||||
],
|
||||
// "modules-center": ["hyprland/window"],
|
||||
"modules-center": ["custom/notification"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
// "modules-center": ["custom/notification"],
|
||||
"modules-right": [
|
||||
// "hyprland/scratchpad",
|
||||
// "idle_inhibitor",
|
||||
// "custom/notification",
|
||||
"custom/notification",
|
||||
"custom/updates",
|
||||
"custom/kernel",
|
||||
// "disk#ssd",
|
||||
@@ -241,8 +241,8 @@
|
||||
"hyprland/window": {
|
||||
"max-length": 88,
|
||||
"rewrite": {
|
||||
"(.*) - YouTube(.*)": "",
|
||||
"(.*) - mpv(.*)": "",
|
||||
// "(.*) - YouTube(.*)": "$1",
|
||||
// "(.*) - mpv(.*)": "$1",
|
||||
},
|
||||
},
|
||||
"custom/updates": {
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
|
||||
* {
|
||||
border: none;
|
||||
font-family: "JetBrainsMono Nerd Font", "Font Awesome", "Noto Sans CJK JP";
|
||||
font-size: 13px;
|
||||
font-family: "Manrope ExtraLight Medium","JetBrainsMono Nerd Font", "Font Awesome", "M PLUS 1 Medium";
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
min-height: 0;
|
||||
border-radius: 0.69em;
|
||||
}
|
||||
@@ -19,9 +20,12 @@ window#waybar.hidden {
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: inherit;
|
||||
padding: 0 10px;
|
||||
background-color: transparent;
|
||||
color: @subtext1;
|
||||
padding: 0 16px;
|
||||
margin: 5px 1px;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
@@ -126,7 +130,7 @@ button:hover {
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
padding-left: 1px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.modules-left {
|
||||
padding-right: 4px;
|
||||
@@ -192,6 +196,7 @@ label:focus {
|
||||
background-color: @maroon;
|
||||
color: @mantle;
|
||||
min-width: 40px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
@@ -322,9 +327,10 @@ label:focus {
|
||||
}
|
||||
|
||||
#custom-notification {
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
margin: 0px 0.88em;
|
||||
font-family: inherit;
|
||||
padding: 0 10px;
|
||||
margin: 5px 1px;
|
||||
min-width: 1em;
|
||||
background-color: transparent;
|
||||
color: @maroon;
|
||||
background-color: @maroon;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user