aboutsummaryrefslogtreecommitdiffstats
path: root/waybar
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2023-08-01 18:30:08 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2023-08-01 18:30:08 +0100
commitad9c557d87d5e9aa7bb0033eb26e1a2d339610a9 (patch)
treedde1c19a5e496333325e471a9a12514f360eb255 /waybar
parent0a07704d6dc53bf3a35d4aadfa240586f55e9487 (diff)
Remove workspace names
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config16
-rw-r--r--waybar/style.css4
2 files changed, 12 insertions, 8 deletions
diff --git a/waybar/config b/waybar/config
index aba681a..1fcffb3 100644
--- a/waybar/config
+++ b/waybar/config
@@ -2,6 +2,7 @@
"height": 30,
"spacing": 4,
"modules-left": ["sway/workspaces", "sway/mode"],
+ "modules-center": ["sway/window"],
"modules-right": ["tray", "custom/lock", "custom/scratchpad_indicator", "network#vpnovpn", "network#vpnwg", "network#e", "network#wl", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"],
"custom/spotify": {
"exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify",
@@ -14,14 +15,13 @@
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
- "format": "{name}{icon}",
- "format-icons": {
- "1": ": terminal",
- "2": ": firefox",
- "3": ": discord",
- "4": ": spotify",
- "5": ": thunderbird",
- "default": ""
+ "format": "{name}",
+ },
+ "sway/window": {
+ "max-length": 80,
+ "tooltip": false,
+ "rewrite": {
+ "": "Desktop",
}
},
"tray": {
diff --git a/waybar/style.css b/waybar/style.css
index d7ac024..3e53a9d 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -25,6 +25,10 @@ button {
border-radius: 0;
}
+#window {
+ padding: 0 5px;
+}
+
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button {