summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-01-09 21:12:02 +0100
committerxengineering <me@xengineering.eu>2026-01-13 11:23:31 +0100
commitbe258954cd6182c1d51723a780bf94c2ed57e442 (patch)
tree9b3b89b14fbc47e1a268ccb153d4b35af82998ae /waybar/config.jsonc
parent4f202f0e924dfbd563d5530c4cdb4f1e7c984ebc (diff)
downloaddotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.tar
dotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.tar.zst
dotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.zip
sway: Switch back to minimal waybar
`swaybar` has icon issues on Arch Linux. Furthermore waybar - while more complicated to configure - has way more features. Complexity can be avoided by a minimal config.
Diffstat (limited to 'waybar/config.jsonc')
-rw-r--r--waybar/config.jsonc33
1 files changed, 33 insertions, 0 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
new file mode 100644
index 0000000..c038b5d
--- /dev/null
+++ b/waybar/config.jsonc
@@ -0,0 +1,33 @@
+{
+ "layer": "top",
+ "modules-left": [
+ "sway/workspaces",
+ "sway/mode"
+ ],
+ "modules-center": [
+ "sway/window"
+ ],
+ "modules-right": [
+ "battery",
+ "battery#bat2",
+ "clock"
+ ],
+ "sway/window": {
+ "max-length": 50
+ },
+ "battery": {
+ "bat": "BAT0",
+ "format": "{capacity}% {icon}",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "battery#bat2": {
+ "bat": "BAT1",
+ "format": "{capacity}% {icon}",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "clock": {
+ "interval": 60,
+ "format": "KW {:%V %a %Y-%m-%d %H:%M}",
+ "max-length": 25
+ }
+}