waybar: clean up CSS and config files
This commit is contained in:
parent
8e9c065ecc
commit
0b59e56589
2 changed files with 1 additions and 228 deletions
|
|
@ -69,19 +69,6 @@
|
||||||
"escape": true,
|
"escape": true,
|
||||||
"exec": "playerctl metadata title -F"
|
"exec": "playerctl metadata title -F"
|
||||||
},
|
},
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/window": {
|
|
||||||
"format": "~ {app_id}"
|
|
||||||
},
|
|
||||||
"idle_inhibitor": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"activated": "",
|
|
||||||
"deactivated": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 14,
|
"icon-size": 14,
|
||||||
"spacing": 5
|
"spacing": 5
|
||||||
|
|
@ -116,37 +103,6 @@
|
||||||
// //"max-length": 200
|
// //"max-length": 200
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
// "clock": {
|
|
||||||
// "format": " {:%H:%M:%S}",
|
|
||||||
// "format-alt": " {:%A, %B %d, %Y (%R)}",
|
|
||||||
// "tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
||||||
// "calendar": {
|
|
||||||
// "mode" : "month",
|
|
||||||
// "mode-mon-col" : 3,
|
|
||||||
// "weeks-pos" : "right",
|
|
||||||
// "on-scroll" : 1,
|
|
||||||
// "on-click-right": "mode",
|
|
||||||
// "format": {
|
|
||||||
// "months": "<span color='#ffead3'><b>{}</b></span>",
|
|
||||||
// "days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
||||||
// "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
||||||
// "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
||||||
// "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// "actions": {
|
|
||||||
// "on-click-right": "mode",
|
|
||||||
// "on-click-forward": "tz_up",
|
|
||||||
// "on-click-backward": "tz_down",
|
|
||||||
// "on-scroll-up": "shift_up",
|
|
||||||
// "on-scroll-down": "shift_down"
|
|
||||||
// },
|
|
||||||
// "interval": 1
|
|
||||||
// },
|
|
||||||
"cpu": {
|
|
||||||
"format": " {usage: >3}%",
|
|
||||||
"on-click": "alacritty -e htop"
|
|
||||||
},
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
// "good": 95,
|
// "good": 95,
|
||||||
|
|
|
||||||
|
|
@ -39,22 +39,13 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0 0;
|
padding: 0 0;
|
||||||
font-family: JetBrainsMono Nerd Font;
|
font-family: JetBrainsMono Nerd Font;
|
||||||
/* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
|
|
||||||
/* font-family: "Hack Nerd Font"; */
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
/* padding-bottom:4px;
|
|
||||||
padding-top: 4px; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
border: 0px solid rgba(0, 0, 0, 0);
|
border: 0px solid rgba(0, 0, 0, 0);
|
||||||
/* border-radius: 10px; */
|
|
||||||
/* background:#2d2a2e; */
|
|
||||||
/* background-color: rgba(36, 39, 58, 0.85); */
|
|
||||||
/*background-color: rgba(0, 0, 0, 0); */
|
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
/* background-color: shade(#1e1e2e, 0.95); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
|
|
@ -102,10 +93,6 @@ window#waybar {
|
||||||
color: @red;
|
color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mode {
|
|
||||||
color: #ebcb8b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
#custom-swap,
|
#custom-swap,
|
||||||
#custom-cava-internal,
|
#custom-cava-internal,
|
||||||
|
|
@ -117,7 +104,7 @@ window#waybar {
|
||||||
#custom-keyboard-layout,
|
#custom-keyboard-layout,
|
||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#wireplumber,
|
||||||
#mode,
|
#mode,
|
||||||
#tray,
|
#tray,
|
||||||
#custom-swaync,
|
#custom-swaync,
|
||||||
|
|
@ -132,59 +119,6 @@ window#waybar {
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* Module styles
|
|
||||||
* -------------------------------------------------------------------------- */
|
|
||||||
#mpd {
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @red;
|
|
||||||
margin-left: 5px;
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.2 {
|
|
||||||
border-radius: 10px 0px 0px 10px;
|
|
||||||
margin: 8px 0px 8px 6px;
|
|
||||||
padding: 4px 12px 4px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.3 {
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
margin: 8px 0px 8px 0px;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.4 {
|
|
||||||
border-radius: 0px 10px 10px 0px;
|
|
||||||
margin: 8px 0px 8px 0px;
|
|
||||||
padding: 4px 10px 4px 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.2,
|
|
||||||
#mpd.3,
|
|
||||||
#mpd.4 {
|
|
||||||
background-color: @background;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode {
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @red;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-cava-internal {
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-swap {
|
|
||||||
border-radius: 10px;
|
|
||||||
color: @background;
|
|
||||||
margin-left: 15px;
|
|
||||||
background-color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
/* background-color:#a3be8c; */
|
/* background-color:#a3be8c; */
|
||||||
color: @sky;
|
color: @sky;
|
||||||
|
|
@ -227,19 +161,6 @@ window#waybar {
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
|
||||||
color: @sky;
|
|
||||||
/* border-bottom: 2px solid @sky; */
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu #cpu-icon {
|
|
||||||
color: @sky;
|
|
||||||
}
|
|
||||||
|
|
||||||
#memory {
|
|
||||||
color: @sky;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disabled {
|
#network.disabled {
|
||||||
color: @red;
|
color: @red;
|
||||||
}
|
}
|
||||||
|
|
@ -266,31 +187,12 @@ window#waybar {
|
||||||
/* border-bottom: 2px solid #3b4252; */
|
/* border-bottom: 2px solid #3b4252; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#temperature {
|
|
||||||
color: @teal;
|
|
||||||
/* border-bottom: 2px solid @teal; */
|
|
||||||
border-radius: 10px 0 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
color: @red;
|
|
||||||
/* border-bottom: 2px solid @red; */
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor {
|
|
||||||
background-color: #ebcb8b;
|
|
||||||
color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
background-color: @darkgray;
|
background-color: @darkgray;
|
||||||
margin: 8px 10px;
|
margin: 8px 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-media,
|
|
||||||
#custom-swaync {}
|
|
||||||
|
|
||||||
#custom-media{
|
#custom-media{
|
||||||
background-color: @red;
|
background-color: @red;
|
||||||
color: @background;
|
color: @background;
|
||||||
|
|
@ -325,88 +227,3 @@ window#waybar {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
color: #eceff4;
|
color: #eceff4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-keyboard-layout {
|
|
||||||
color: @peach;
|
|
||||||
/* border-bottom: 2px solid @peach; */
|
|
||||||
border-radius: 0 10px 10px 0;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* window#waybar {
|
|
||||||
background: #2d2a2e;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
color: #c8b9a9;
|
|
||||||
font-family: Ubuntu Mono, sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.focused {
|
|
||||||
color: #f2e5bc;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
color: #c8b9a9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.separator {
|
|
||||||
background-color: #c8b9a9;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode {
|
|
||||||
color: #ebcb8b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
color: #a3be8c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
|
||||||
color: #d8dee9;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging {
|
|
||||||
color: #b48ead;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu {
|
|
||||||
color: #a3be8c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#memory {
|
|
||||||
color: #d3869b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
color: #8fbcbb;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disabled {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disconnected {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
color: #b48ead;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio.muted {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature {
|
|
||||||
color: #8fbcbb;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
color: #bf616a;
|
|
||||||
} */
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue