sway, waybar, nvim, zshrc: small patches

This commit is contained in:
Marco Thomas
2022-08-06 17:21:44 +02:00
parent d20e6850c6
commit 3b7acba218
6 changed files with 43 additions and 34 deletions

View File

@@ -1,6 +1,5 @@
{
"layer": "bottom",
"position": "left",
"modules-left": [
@@ -9,9 +8,9 @@
"modules-center": [
],
"modules-right": [
"tray",
"battery",
"clock#time",
"clock#date"
],
@@ -37,10 +36,10 @@
"states": {
"good": 100,
"ok": 50,
"warning": 30,
"critical": 15
"warning": 15,
"critical": 10
},
"format": "{capacity}",
"format": "{capacity}",
"format-discharging": "{capacity}",
"format-icons": [
"", // Icon: battery-full
@@ -55,12 +54,12 @@
"clock#time": {
"interval": 5,
"format": "{:%I\n%M}",
"tooltip": false,
"tooltip-format": "{:%A, %e %B %Y}"
},
"clock#date": {
"interval": 10,
"format": "{:%a, %e}",
"format": "{:%a,%e}",
"tooltip-format": "{:%A, %e %B %Y}"
},

View File

@@ -86,6 +86,14 @@
animation-direction: alternate;
}
#battery.charging {
border-left: 2px solid @green;
}
#battery.full {
font-weight: bold;
}
#battery.good {
color: @green;
}
@@ -112,16 +120,12 @@
animation-duration: 2s;
}
#battery.charging {
}
#clock.date {
font-size: 9px;
}
#clock.time {
font-size: 14px;
font-weight: bold;
/* hack, cause width parameter is bugged */
margin-left: 2px;
margin-right: 2px;
}
#cpu {
@@ -183,11 +187,6 @@
color: red;
}
#tray {
/* Empty space on the right */
margin-right: 5px;
}
#workspaces button {
color: white;
}
@@ -205,16 +204,16 @@
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
background: #383838;
border: #383838;
background: #585858;
border: #585858;
}
#workspaces button.focused:hover {
border-left: 2px solid @green;
background: #383838;
background: #585858;
}
#workspaces button.urgent:hover {
border-left: 2px solid @red;
background: #383838;
background: #585858;
}