1
0
Fork 0

Minor visual tweaks to waybar and wofi

main
Ambrose Chua 2021-04-04 00:25:59 +08:00
parent ab701abcf0
commit 55c22ca161
2 changed files with 35 additions and 58 deletions

View File

@ -65,22 +65,22 @@
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"tooltip-format": "<big>{:%Y %B %e}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}",
"format-alt": "{:%Y-%m-%d}"
"format-alt": "{:%Y-%m-%d %H:%M}"
},
"cpu": {
"format": "{usage}%",
"format-alt": "{usage}%"
"format": "{usage}%",
"format-alt": "{usage}%"
},
"memory": {
"format": "{}%",
"format-alt": "{}%"
"format": "{}%",
"format-alt": "{}%"
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
"critical-threshold": 75,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""],
@ -115,10 +115,11 @@
//"format-linked": "{ifname} (No IP) ",
//"format-disconnected": "Disconnected ⚠",
"format-wifi": "{essid} ({signalStrength}%)",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"format-ethernet": "{ipaddr}/{cidr}",
"format-linked": "{ifname} (No IP)",
"format-disconnected": "⚠",
"format-alt": "{ipaddr}"
"format-alt": "{ipaddr}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"scroll-step": 1, // %, can be a float

View File

@ -1,70 +1,46 @@
#window {
border: none;
background: rgba(32, 32, 32, 0.875);
color: #999;
font-family: "Fira Code";
font-size: 13px;
font-size: 14px;
color: #a0a0a0;
}
#input {
padding: 8px 16px;
border-radius: 0;
background: none;
border: none;
background: rgba(32, 32, 32, 0);
color: #fff;
border-radius: 0;
}
#input:focus {
border: none;
}
.entry#selected,
.entry#unselected {
padding: 8px 38px;
}
#selected,
row > #selected {
background: rgba(203, 75, 22, 0.73);
color: #fff;
}
#unselected,
row > #unselected {
background: none;
color: #fff;
}
image {
margin-right: 8px;
}
expander .entry#selected,
expander .entry#unselected {
padding: 8px 22px;
}
list .entry#selected,
list .entry#unselected {
padding: 8px 62px;
box-shadow: none;
}
flowboxchild {
padding: 0;
}
flowboxchild:focus,
flowboxchild:selected,
row:focus,
row:selected {
#entry:selected {
background: rgba(203, 75, 22, 0.73);
outline: none;
background: none;
border-radius: 0;
}
.entry#selected,
.entry#unselected {
padding: 8px 38px;
}
expander .entry#selected,
expander .entry#unselected {
padding: 8px 22px;
}
list {
background: rgba(32, 32, 32, 0.875);
color: #999;
background: rgba(32, 32, 32, 1);
color: #a0a0a0;
}
list * {
padding: 0;
margin: 0;
list .entry#selected,
list .entry#unselected {
padding: 6px 62px;
}
image {
margin-right: 8px;
}