aggregate
This commit is contained in:
parent
ece649606e
commit
8e99534112
19 changed files with 128 additions and 194 deletions
|
|
@ -73,18 +73,18 @@
|
||||||
"on-click": "",
|
"on-click": "",
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{}% ",
|
"format": " {}%",
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
// "thermal-zone": 2,
|
// "thermal-zone": 2,
|
||||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
// "format-critical": "{temperatureC}°C {icon}",
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
"format": "{icon} {temperatureC}°C",
|
"format": "{icon} {temperatureC}°C",
|
||||||
"format-icons": ["", "", ""],
|
"format-icons": ["", "", ""],
|
||||||
},
|
},
|
||||||
"wireplumber": {
|
"wireplumber": {
|
||||||
|
|
@ -95,7 +95,7 @@
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
"tooltip-format": "{essid}",
|
"tooltip-format": "{essid}",
|
||||||
"format-wifi": " {signalStrength}%",
|
"format-wifi": " {signalStrength}%",
|
||||||
"format-ethernet": "",
|
"format-ethernet": "",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
|
|
|
||||||
114
waybar/style.css
114
waybar/style.css
|
|
@ -14,30 +14,108 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@define-color button @color1;
|
@define-color button @color1;
|
||||||
@define-color button-hover @color6;
|
@define-color button-hover @color3;
|
||||||
@define-color button-active @color4;
|
@define-color button-active @color2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* General
|
* General
|
||||||
*/
|
*/
|
||||||
@import url("./styles/module-groups.css");
|
|
||||||
@import url("./styles/modules.css");
|
|
||||||
@import url("./styles/waybar.css");
|
@import url("./styles/waybar.css");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Workspaces
|
||||||
|
*/
|
||||||
|
#workspaces {
|
||||||
|
border-radius: 9999px;
|
||||||
|
background: @button;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 9px 0 4px;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: 9999px;
|
||||||
|
color: @color7;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: @button-active;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: transparent;
|
||||||
|
color: @button-hover;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: @button-active;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Modules
|
* Modules
|
||||||
*/
|
*/
|
||||||
@import url("./styles/modules/os.css");
|
#cpu,
|
||||||
@import url("./styles/modules/clock.css");
|
#memory,
|
||||||
@import url("./styles/modules/cpu.css");
|
#network,
|
||||||
@import url("./styles/modules/idle.css");
|
#temperature {
|
||||||
@import url("./styles/modules/memory.css");
|
color: @color7;
|
||||||
@import url("./styles/modules/network.css");
|
}
|
||||||
@import url("./styles/modules/mpris.css");
|
|
||||||
@import url("./styles/modules/swaync.css");
|
#clock,
|
||||||
@import url("./styles/modules/swww.css");
|
#idle_inhibitor,
|
||||||
@import url("./styles/modules/temperature.css");
|
#mpris,
|
||||||
@import url("./styles/modules/tray.css");
|
#custom-swaync,
|
||||||
@import url("./styles/modules/window.css");
|
#wireplumber,
|
||||||
@import url("./styles/modules/wireplumber.css");
|
#custom-swww,
|
||||||
@import url("./styles/modules/workspaces.css");
|
#custom-os {
|
||||||
|
background: @button;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock:hover,
|
||||||
|
#idle_inhibitor:hover,
|
||||||
|
#mpris:hover,
|
||||||
|
#custom-swaync:hover,
|
||||||
|
#wireplumber:hover,
|
||||||
|
#custom-swww:hover,
|
||||||
|
#custom-os:hover {
|
||||||
|
background: @button-hover;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
background-color: @button-active;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
padding: 0 16px 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpris.spotify {
|
||||||
|
background-color: #1db954;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
color: #bf616a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber.muted {
|
||||||
|
color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-swww {
|
||||||
|
padding: 0 16px 0 8px;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-os {
|
||||||
|
padding: 0 12px 0 6px;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
.modules-left {
|
|
||||||
padding: 0 3px;
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-center {
|
|
||||||
padding: 0 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-right {
|
|
||||||
padding: 0 3px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
.module {
|
|
||||||
border-radius: 9999px;
|
|
||||||
margin: 8px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
label.module {
|
|
||||||
padding: 0 10px;
|
|
||||||
/* box-shadow: inset 0 -2px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
box.module {
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#clock {
|
|
||||||
background: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock:hover {
|
|
||||||
background: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
#cpu {
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
#idle_inhibitor {
|
|
||||||
padding: 0 16px 0 12px;
|
|
||||||
background-color: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor:hover {
|
|
||||||
background-color: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background-color: @button-active;
|
|
||||||
}
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
#memory {
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
#mpris {
|
|
||||||
background-color: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpris:hover {
|
|
||||||
background-color: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpris.spotify {
|
|
||||||
background-color: #1db954;
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
#network {
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disconnected {
|
|
||||||
color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#custom-os {
|
|
||||||
padding: 0 12px 0 6px;
|
|
||||||
font-size: 24px;
|
|
||||||
background: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-os:hover {
|
|
||||||
background: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#custom-swaync {
|
|
||||||
background-color: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-swaync:hover {
|
|
||||||
background-color: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#custom-swww {
|
|
||||||
padding: 0 16px 0 8px;
|
|
||||||
font-size: 18px;
|
|
||||||
background-color: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-swww:hover {
|
|
||||||
background-color: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
#temperature {
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
#tray {
|
|
||||||
background-color: @button;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .passive {
|
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .needs-attention {
|
|
||||||
-gtk-icon-effect: highlight;
|
|
||||||
background-color: #eb4d4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray button {
|
|
||||||
border-radius: 0px;
|
|
||||||
box-shadow: inset 0 -3px transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray button:hover {
|
|
||||||
box-shadow: inset 0 -3px #5e81ac;
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#window {
|
|
||||||
border-radius: 20px;
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.kitty {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* make window module transparent when no windows present */
|
|
||||||
window#waybar.empty #window {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#wireplumber {
|
|
||||||
background: @button;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber.muted {
|
|
||||||
color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
#workspaces {
|
|
||||||
padding: 0;
|
|
||||||
/* border: 2px solid @color4; */
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
padding: 0 9px 0 4px;
|
|
||||||
box-shadow: none;
|
|
||||||
border: none;
|
|
||||||
border-radius: 9999px;
|
|
||||||
color: @button;
|
|
||||||
font-size: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
|
||||||
color: @button-active;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
background: transparent;
|
|
||||||
color: @button-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.focused {
|
|
||||||
color: @button-active;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent {
|
|
||||||
color: #bf616a;
|
|
||||||
}
|
|
||||||
|
|
@ -21,3 +21,31 @@ window#waybar.hidden {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module {
|
||||||
|
border-radius: 9999px;
|
||||||
|
margin: 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
label.module {
|
||||||
|
padding: 0 10px;
|
||||||
|
/* box-shadow: inset 0 -2px; */
|
||||||
|
}
|
||||||
|
|
||||||
|
box.module {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left {
|
||||||
|
padding: 0 3px;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-center {
|
||||||
|
padding: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
padding: 0 3px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue