From 7e37713a1b6d886ac941d87501d1f7317b3b253f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 31 Aug 2024 00:57:51 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(waybar):=20modify?= =?UTF-8?q?=20a=20bunch=20of=20modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/waybar/modules/backlight.jsonc | 3 ++- .config/waybar/modules/battery.jsonc | 11 +++++------ .config/waybar/modules/hyprland-window.jsonc | 11 +++++------ 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.config/waybar/modules/backlight.jsonc b/.config/waybar/modules/backlight.jsonc index 1cc06600..486975bf 100644 --- a/.config/waybar/modules/backlight.jsonc +++ b/.config/waybar/modules/backlight.jsonc @@ -1,7 +1,8 @@ { "backlight": { + "device": "intel_backlight", "format": "{percent}% {icon}", - "format-icons": [" ", " "], + "format-icons": ["", "", "", "", "", "", "", "", ""], "on-scroll-up": "swayosd-client --brightness +10", "on-scroll-down": "swayosd-client --brightness -10", }, diff --git a/.config/waybar/modules/battery.jsonc b/.config/waybar/modules/battery.jsonc index d9274c03..5d067406 100644 --- a/.config/waybar/modules/battery.jsonc +++ b/.config/waybar/modules/battery.jsonc @@ -1,14 +1,13 @@ { "battery": { "format": "{capacity}% {icon}", - "format-icons": { - "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"], - "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"], - }, - "format-full": "Charged ", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"], "interval": 5, "states": { - "warning": 20, + "warning": 30, "critical": 10, }, "tooltip": false, diff --git a/.config/waybar/modules/hyprland-window.jsonc b/.config/waybar/modules/hyprland-window.jsonc index cfa8ee82..5957ddb7 100644 --- a/.config/waybar/modules/hyprland-window.jsonc +++ b/.config/waybar/modules/hyprland-window.jsonc @@ -3,12 +3,11 @@ "format": "{}", "max-length": 80, "rewrite": { - "(.*) — LibreWolf": "󰇧 $1", - "(.*) — Abaze Floorp": "󰇧 $1", - "(.*) — Mozilla Firefox": "󰇧 $1", - "(.*) — Brave": "󰇧 $1", - "(.*) - Discord": "󰙯 $1", - "(.*) - fish": "> [$1]", + "(.*) — Mozilla Firefox": "$1 󰇧", + "(.*) — Ablaze Floorp": "$1 󰇧", + "(.*)VSCodium": "Codium 󰨞", + "(.*)Spotify": "Spotify 󰓇", + "(.*)Steam": "Steam 󰓓", }, "separate-outputs": false, },