Curate Sway config with full Wayland switch

This commit is contained in:
2020-03-08 01:34:57 +01:00
parent a088278bd0
commit c0e0786a09
7 changed files with 103 additions and 59 deletions

View File

@@ -114,7 +114,7 @@
"custom/alsa": {
"exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/muted/p; s/.*\\[(.*%)\\].*/\\1/p'",
"signal": 11,
"interval": 10,
"interval": 3,
"tooltip": false
}
}

View File

@@ -41,8 +41,8 @@ window#waybar.chromium {
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.focused {
@@ -72,31 +72,24 @@ window#waybar.chromium {
#mpd {
padding: 0 10px;
margin: 0 4px;
color: #ffffff;
}
#clock {
}
#battery {
background-color: #211B29;
}
#battery.charging {
color: #ffffff;
}
@keyframes blink {
to {
color: #000000;
}
}
#battery.critical:not(.charging) {
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
@@ -149,11 +142,9 @@ label:focus {
}
#idle_inhibitor.activated {
color: #D8DEE9;
}
#mpd {
color: #D8DEE9;
}
#mpd.disconnected {