mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
meta: Remove waybar
Since I've decided to ditch sway, I no longer have to deal with waybar either, which is nice. Although waybar is nice-looking, there isn't much of a difference between it and polybar in day-to-day usage, and other factors such as ease of maintenance are far more important.
This commit is contained in:
parent
e35c497013
commit
8be958c051
@ -1,67 +0,0 @@
|
||||
{
|
||||
"height": 30,
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "tray"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["pulseaudio", "network", "backlight", "memory", "battery", "clock"],
|
||||
"sway/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "五",
|
||||
"6": "六",
|
||||
"7": "七",
|
||||
"8": "八",
|
||||
"9": "九",
|
||||
"10": "十"
|
||||
}
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 20
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " ({signalStrength}%)",
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "🔇 Muted",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
}
|
||||
}
|
||||
// vim:syn=json
|
@ -1,54 +0,0 @@
|
||||
@import url("../../.cache/wal/colors-waybar.css");
|
||||
|
||||
* {
|
||||
font-family: "Fira Mono, Noto Sans CJK JP, Font Awesome 6 Free Solid, Font Awesome 6 Free Brands";
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(43, 48, 59, 0.9);
|
||||
background: @background;
|
||||
border-bottom: 1px solid rgba(100, 114, 125, 0.3);
|
||||
color: @foreground;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 20px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
padding: 0 20px;
|
||||
background: #64727D;
|
||||
background: @color8;
|
||||
}
|
||||
|
||||
#mode, #pulseaudio, #network, #backlight, #memory, #clock, #battery {
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: #64727D;
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #26A65B;
|
||||
color: @color2;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background: #f53c3c;
|
||||
background: @color8;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background: #f53c3c;
|
||||
color: white;
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
# waybar
|
||||
|
||||
[waybar][waybar] is a Wayland bar for [sway][sway].
|
||||
|
||||
## Use Cases
|
||||
|
||||
waybar can be used to:
|
||||
|
||||
- Have a nicer looking bar than the default
|
||||
|
||||
You should not use waybar if:
|
||||
|
||||
- You aren't using Wayland
|
||||
|
||||
[waybar]: https://github.com/Alexays/Waybar
|
||||
[sway]: https://github.com/swaywm/sway
|
Loading…
Reference in New Issue
Block a user