From c269a0d29b207ccccf13b3153eadb01b91863e4c Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 24 Sep 2023 22:52:02 +0200 Subject: Add double bar setup Too bad the hyprland-specific components don't actually work, though. --- .config/waybar/config-hyprland.json | 10 +++++----- .config/waybar/config.json | 17 +++++++++++------ 2 files changed, 16 insertions(+), 11 deletions(-) (limited to '.config') diff --git a/.config/waybar/config-hyprland.json b/.config/waybar/config-hyprland.json index 1daf3eb..a82cd37 100644 --- a/.config/waybar/config-hyprland.json +++ b/.config/waybar/config-hyprland.json @@ -5,17 +5,17 @@ "height": 20, "spacing": 4, "modules-left": [ - "hyprland/workspaces", - "hyprland/window" + "hyprland/workspaces" ], "modules-center": [ ], "modules-right": [ ], "hyprland/workspaces": { - "format": "{icon}", - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1" + "persistent-workspaces": { + "*": 9 + }, + "sort": "number" }, "hyprland/window": { "max-length": 200, diff --git a/.config/waybar/config.json b/.config/waybar/config.json index cb07737..f5b4c14 100644 --- a/.config/waybar/config.json +++ b/.config/waybar/config.json @@ -3,7 +3,7 @@ "layer": "top", "position": "top", "height": 20, - "spacing": 4, + "spacing": 2, "modules-left": [ "cpu", "memory", @@ -28,7 +28,7 @@ } }, "tray": { - "spacing": 10 + "spacing": 4 }, "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", @@ -46,7 +46,9 @@ "format": "{temperatureC}°C 🫠" }, "backlight": { - "format": "{percent}% 💡" + "format": "{percent}% 💡", + "on-scroll-up": "bl inc 1", + "on-scroll-down": "bl dec 1" }, "battery": { "states": { @@ -67,8 +69,8 @@ "pulseaudio": { "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": " {format_source}", + "format-bluetooth-muted": "🔇 {icon} {format_source}", + "format-muted": "🔇 {format_source}", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { @@ -84,6 +86,9 @@ "" ] }, - "on-click": "pavucontrol" + "on-click": "pavucontrol", + "on-scroll-up": "vol inc 1", + "on-scroll-down": "vol dec 1", + "on-click-right": "vol toggle" } } -- cgit v1.1