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",
|
"custom/firefox-scroll",
|
||||||
"hyprland/submap",
|
"hyprland/submap",
|
||||||
],
|
],
|
||||||
// "modules-center": ["hyprland/window"],
|
"modules-center": ["hyprland/window"],
|
||||||
"modules-center": ["custom/notification"],
|
// "modules-center": ["custom/notification"],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
// "hyprland/scratchpad",
|
// "hyprland/scratchpad",
|
||||||
// "idle_inhibitor",
|
// "idle_inhibitor",
|
||||||
// "custom/notification",
|
"custom/notification",
|
||||||
"custom/updates",
|
"custom/updates",
|
||||||
"custom/kernel",
|
"custom/kernel",
|
||||||
// "disk#ssd",
|
// "disk#ssd",
|
||||||
@@ -170,8 +170,8 @@
|
|||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format": "{volume}% {icon} {format_source}",
|
"format": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": " {format_source}",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
@@ -192,8 +192,8 @@
|
|||||||
"on-click-right": "qpwgraph",
|
"on-click-right": "qpwgraph",
|
||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format": "{volume}% {icon} {format_source}",
|
"format": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": " {format_source}",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
@@ -241,8 +241,8 @@
|
|||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"max-length": 88,
|
"max-length": 88,
|
||||||
"rewrite": {
|
"rewrite": {
|
||||||
"(.*) - YouTube(.*)": "",
|
// "(.*) - YouTube(.*)": "$1",
|
||||||
"(.*) - mpv(.*)": "",
|
// "(.*) - mpv(.*)": "$1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"custom/updates": {
|
"custom/updates": {
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "JetBrainsMono Nerd Font", "Font Awesome", "Noto Sans CJK JP";
|
font-family: "Manrope ExtraLight Medium","JetBrainsMono Nerd Font", "Font Awesome", "M PLUS 1 Medium";
|
||||||
font-size: 13px;
|
font-size: 15px;
|
||||||
|
font-weight: 600;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
border-radius: 0.69em;
|
border-radius: 0.69em;
|
||||||
}
|
}
|
||||||
@@ -19,9 +20,12 @@ window#waybar.hidden {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
background-color: inherit;
|
background-color: transparent;
|
||||||
padding: 0 10px;
|
color: @subtext1;
|
||||||
|
padding: 0 16px;
|
||||||
margin: 5px 1px;
|
margin: 5px 1px;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
@@ -126,7 +130,7 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modules-right {
|
.modules-right {
|
||||||
padding-left: 1px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
.modules-left {
|
.modules-left {
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
@@ -192,6 +196,7 @@ label:focus {
|
|||||||
background-color: @maroon;
|
background-color: @maroon;
|
||||||
color: @mantle;
|
color: @mantle;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
@@ -322,9 +327,10 @@ label:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#custom-notification {
|
#custom-notification {
|
||||||
font-family: "JetBrainsMono Nerd Font";
|
font-family: inherit;
|
||||||
margin: 0px 0.88em;
|
padding: 0 10px;
|
||||||
|
margin: 5px 1px;
|
||||||
min-width: 1em;
|
min-width: 1em;
|
||||||
background-color: transparent;
|
background-color: @maroon;
|
||||||
color: @maroon;
|
color: @mantle;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user