waybar: update theme
This commit is contained in:
parent
d2563e16d8
commit
143e7a3b3d
|
@ -1,30 +1,30 @@
|
||||||
@import "mocha.css";
|
@import "mocha.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: JetBrainsMono, "Font Awesome 6 Free", SymbolsNerdFont;
|
font-family: Cantarell, "Font Awesome 6 Free", SymbolsNerdFont;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: transparent;
|
background-color: @base;
|
||||||
/* background: @base; */
|
/* background: @base; */
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: .5s;
|
transition-duration: .5s;
|
||||||
border-radius: 14px;
|
border-radius: 14px 14px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
background-color: @mantle;
|
background-color: @mantle;
|
||||||
margin: 3px 5px 3px 5px;
|
margin: 4px 5px 4px 5px;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
}
|
}
|
||||||
#workspaces button,
|
#workspaces button,
|
||||||
#workspaces button:hover,
|
#workspaces button:hover,
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
padding: 0px 3px;
|
padding: 0px 4px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
@ -45,17 +45,17 @@ window#waybar {
|
||||||
color: @base;
|
color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power, #custom-runner,
|
#custom-power, #custom-runner, #battery,
|
||||||
#wireplumber, #wireplumber.muted,
|
#backlight, #wireplumber, #wireplumber.muted,
|
||||||
#tray, #language, #clock {
|
#tray, #language, #clock {
|
||||||
background: @mantle;
|
background: @mantle;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
color: @text;
|
color: @text;
|
||||||
margin: 3px 2.5px 3px 2.5px;
|
margin: 4px 2.5px 4px 2.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
margin: 3px 2.5px 3px 2.5px;
|
margin: 4px 2.5px 4px 2.5px;
|
||||||
padding: 0px 9px;
|
padding: 0px 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,11 +63,16 @@ window#waybar {
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#battery {
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wireplumber, #wireplumber.muted {
|
#tray {
|
||||||
|
margin: 4px 2.5px 4px 5px;
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight, #wireplumber, #wireplumber.muted {
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
min-width: 55px;
|
min-width: 55px;
|
||||||
}
|
}
|
||||||
|
@ -76,10 +81,11 @@ window#waybar {
|
||||||
}
|
}
|
||||||
|
|
||||||
#language {
|
#language {
|
||||||
padding: 0px 7px 0px 7px;
|
padding: 0px 9px 0px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
margin: 3px 5px 3px 2.5px;
|
margin: 4px 5px 4px 2.5px;
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,57 +1,75 @@
|
||||||
{
|
{
|
||||||
"position": "bottom",
|
"position": "bottom",
|
||||||
"height": 31,
|
"height": 36,
|
||||||
"width": 900,
|
"width": 900,
|
||||||
"spacing": 0,
|
"spacing": 0,
|
||||||
"margin-bottom": 5,
|
"margin-bottom": 0,
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["custom/power", "custom/runner"],
|
"modules-left": ["tray"],
|
||||||
"modules-center": ["hyprland/workspaces"],
|
"modules-center": ["hyprland/workspaces"],
|
||||||
"modules-right": ["tray", "wireplumber", "hyprland/language", "clock"],
|
"modules-right": ["wireplumber", "hyprland/language", "clock"],
|
||||||
|
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "~/.config/hypr/bin/powermenu"
|
"on-click": "~/.config/hypr/bin/powermenu"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/runner": {
|
"custom/runner": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "~/.config/hypr/bin/runner"
|
"on-click": "hyprlauncher"
|
||||||
},
|
},
|
||||||
|
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{name}",
|
"format": "{name}",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"persistent_workspaces": {
|
"persistent_workspaces": {
|
||||||
"*": 1
|
"*": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 14,
|
"icon-size": 14,
|
||||||
"spacing": 15
|
"spacing": 15
|
||||||
},
|
},
|
||||||
|
|
||||||
"wireplumber": {
|
"battery": {
|
||||||
|
"bat": "qcom-battery",
|
||||||
|
"interval": 1,
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"max-length": 25
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight": {
|
||||||
|
"device": "ktz8866-backlight",
|
||||||
|
"format": " {percent}%"
|
||||||
|
},
|
||||||
|
|
||||||
|
"wireplumber": {
|
||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-icons":["", "", ""],
|
"format-icons":["", "", ""],
|
||||||
"format-muted": " mute",
|
"format-muted": " mute",
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
"max-volume": 100
|
"max-volume": 100
|
||||||
},
|
},
|
||||||
|
|
||||||
"hyprland/language": {
|
"hyprland/language": {
|
||||||
"format": "{}",
|
"format": " {}",
|
||||||
"format-en": "Eng",
|
"format-en": "Eng",
|
||||||
"format-ru": "Rus"
|
"format-ru": "Rus"
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": " {:%Y-%m-%d}",
|
"format-alt": "{:%Y-%m-%d}",
|
||||||
"format": "{:%H:%M}",
|
"format": "{:%H:%M}",
|
||||||
"timezone": "Asia/Yekaterinburg"
|
"timezone": "Asia/Yekaterinburg"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue