From 098905fbd8558228445d6d5b860ca5f6fd2a38fc Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sun, 6 Apr 2025 00:10:35 +0200 Subject: [PATCH] Even better --- waybar/config | 244 +++++++++++++++++++++++++++----------------------- 1 file changed, 132 insertions(+), 112 deletions(-) diff --git a/waybar/config b/waybar/config index acb3c9a..1102022 100644 --- a/waybar/config +++ b/waybar/config @@ -1,114 +1,134 @@ { - "name": "float", - "layer": "top", - "position": "bottom", - "height": 75, - "exclusive": false, - "passthrough": false, - "gtk-layer-shell": true, - "margin-right": 10, - "margin-bottom": 0, - "margin-top" : 0, - "margin-left": 0, - "margin-right": 0, - "height" : 10, - "modules-left": [ - ], - "modules-center": [ - ], - "modules-right": [ - "hyprland/workspaces", - "tray", - "battery", - "clock", - ], - "hyprland/window": { - "format": "{}", - "max-length": 35, - "rewrite": { - "": "Harsh" - }, - "separate-outputs": true, - }, - "hyprland/workspaces": { - "format": "{icon}", - "on-click": "activate", - "sort-by-number": true, - "persistent-workspaces": { - "DP-3": [11, 12, 13, 14, 15, 16, 17, 18, 19], - "DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29] - }, - }, - "clock": { - "format": "{:%d/%m/%Y %H:%M}", - "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": "{}", - "interval": 1 - }, - "battery": { - "states": { - "warning": 30, - "critical": 15 - }, - "format": "{capacity}% {icon}", - "format-full": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": " {capacity}%", - "format-alt": "{time} {icon}", - "format-icons": ["", "", "", "", ""] - }, - "pulseaudio#1": { - "format": "{volume}% {icon}", - "format-bluetooth": "{volume}% {icon} {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": "", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click-right": "pavucontrol", - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" - }, - "pulseaudio#2": { - "format": "{format_source}", - "format-bluetooth": "{volume}% {icon}", - "format-muted": "{format_source}", - "format-source": "{volume}% ", - "format-source-muted": "", - "format-icons": { - "headphones": "", - "handsfree": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": [ - "", - "", - "" - ] - }, - "on-click-right": "pavucontrol", - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle", - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+", - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-" - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - } - }, - "tray": { - "icon-size": 15, - "spacing": 10 - } + "name": "float", + "layer": "top", + "position": "bottom", + "height": 75, + "exclusive": false, + "passthrough": false, + "gtk-layer-shell": true, + "margin-right": 10, + "margin-bottom": 0, + "margin-top" : 0, + "margin-left": 0, + "margin-right": 0, + "height" : 10, + "modules-left": [ + ], + "modules-center": [ + ], + "modules-right": [ + "hyprland/workspaces", + "tray", + "battery", + "clock", + ], + "hyprland/window": { + "format": "{}", + "max-length": 35, + "rewrite": { + "": "Harsh" + }, + "separate-outputs": true, + }, + "hyprland/workspaces": { + "format": "{icon}", + "format-icons": { + "11": "1", + "12": "2", + "13": "3", + "14": "4", + "15": "5", + "16": "6", + "17": "7", + "18": "8", + "19": "9", + "21": "1", + "22": "2", + "23": "3", + "24": "4", + "25": "5", + "26": "6", + "27": "7", + "28": "8", + "29": "9", + }, + "on-click": "activate", + "sort-by-number": true, + "persistent-workspaces": { + "DP-3": [11, 12, 13, 14, 15, 16, 17, 18, 19], + "DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29] + }, + }, + "clock": { + "format": "{:%d/%m/%Y %H:%M}", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format-alt": "{}", + "interval": 1 + }, + "battery": { + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-full": "{icon} {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""] + }, + "pulseaudio#1": { + "format": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click-right": "pavucontrol", + "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", + "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + }, + "pulseaudio#2": { + "format": "{format_source}", + "format-bluetooth": "{volume}% {icon}", + "format-muted": "{format_source}", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphones": "", + "handsfree": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": [ + "", + "", + "" + ] + }, + "on-click-right": "pavucontrol", + "on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle", + "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+", + "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + "icon-size": 15, + "spacing": 10 + } }