rice
This commit is contained in:
parent
51de7ef3a2
commit
0c9d0a1ce2
5 changed files with 67 additions and 6 deletions
|
|
@ -13,6 +13,7 @@
|
|||
"bluetooth",
|
||||
"pulseaudio",
|
||||
"upower",
|
||||
"network",
|
||||
"clock"
|
||||
],
|
||||
"mpris": {
|
||||
|
|
@ -42,6 +43,18 @@
|
|||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
||||
"on-click": "pgrep .blueman-manage && pkill .blueman-manage || blueman-manager &"
|
||||
},
|
||||
"network": {
|
||||
"interface": "wlp1s0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {essid} ({signalStrength}%)",
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-disconnected": "no signal", //An empty format will hide the module.
|
||||
"tooltip-format": "{ifname}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"tooltip-format-ethernet": "{ifname} ",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50
|
||||
},
|
||||
"upower": {
|
||||
"icon-size": 20,
|
||||
"hide-if-empty": true,
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ window#waybar.termite { background: @base; }
|
|||
window#waybar.chromium { background: @base; border: none; }
|
||||
|
||||
/* -------- Module “pill” look -------- */
|
||||
#workspaces, #clock, #mpris, #pulseaudio, #bluetooth, #upower {
|
||||
#workspaces, #clock, #mpris, #pulseaudio, #bluetooth, #upower, #network {
|
||||
background: @base;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
|
|
@ -133,7 +133,15 @@ button:active {
|
|||
}
|
||||
|
||||
/* -------- Upower -------- */
|
||||
#bluetooth {
|
||||
#upower {
|
||||
background: @green;
|
||||
color: @base;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
|
||||
/* -------- Network -------- */
|
||||
#network {
|
||||
background: @green;
|
||||
color: @base;
|
||||
font-weight: 600;
|
||||
|
|
|
|||
|
|
@ -139,6 +139,14 @@ button:active {
|
|||
letter-spacing: 0.2px;
|
||||
}
|
||||
|
||||
/* -------- Network -------- */
|
||||
#network {
|
||||
background: @green;
|
||||
color: @base;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
|
||||
/* -------- Helpers -------- */
|
||||
@keyframes blink {
|
||||
to { background-color: @peach; color: @base; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue