From e6ab8c75cbd918b272119799718ef90437da5abc Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 17 Mar 2025 00:38:14 -0700 Subject: [PATCH] update laptop config --- catppuccin-macchiato/config-battery.jsonc | 74 +++++++++++++++-------- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/catppuccin-macchiato/config-battery.jsonc b/catppuccin-macchiato/config-battery.jsonc index e15481c..cca61fc 100644 --- a/catppuccin-macchiato/config-battery.jsonc +++ b/catppuccin-macchiato/config-battery.jsonc @@ -5,14 +5,16 @@ "width": 1905, "spacing": 1, "reload_style_on_change": true, + "fixed-center": true, "margin": "10 5 0 5", "modules-left": [ "custom/launcher", "hyprland/workspaces", "tray", - "hyprland/mode", - "custom/mpv-scroll", + "hyprland/submap", + "custom/mpd-scroll", "custom/firefox", + "cava", ], "modules-center": ["hyprland/window"], "modules-right": [ @@ -22,8 +24,8 @@ "custom/kernel", // "disk#ssd", // "temperature", - "cpu", - "memory", + // "cpu", + // "memory", "bluetooth", "network", "pulseaudio", @@ -60,8 +62,10 @@ "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", "on-click": "blueman-manager", }, - "hyprland/mode": { - "format": "{}", + "hyprland/submap": { + "format": "{}", + "max-length": 8, + "tooltip": false, }, "hyprland/scratchpad": { "format": "{icon} {count}", @@ -178,21 +182,6 @@ }, "on-click": "pavucontrol", }, - "battery": { - "states": { - "good": 75, - "warning": 30, - "critical": 15, - }, - "format": "{capacity}% {icon}", - "format-full": "{capacity}% {icon}", - "format-charging": "{capacity}% ", - "format-plugged": "{capacity}% ", - "format-alt": "{time} {icon}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - "format-icons": ["", "", "", "", ""], - }, "custom/pipewire": { "tooltip": false, "max-length": 6, @@ -253,8 +242,8 @@ "format": "{} {icon}", "return-type": "json", "format-icons": { - "has-updates": "󱍷", - "updated": "", + "has-updates": "", + "updated": "", }, "exec-if": "which waybar-module-pacman-updates", "exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns", @@ -272,7 +261,7 @@ "on-click": "playerctl -p firefox play-pause", "hide-empty-text": true, }, - "custom/mpv-scroll": { + "custom/mpd-scroll": { "escape": "true", "exec": "$HOME/.config/waybar/scripts/scroll-mpd.sh", "format": "{}", @@ -283,4 +272,41 @@ "on-scroll-up": "mpc volume +5", "hide-empty-text": true, }, + "cava": { + // "cava_config": "$HOME/.config/cava/config", + "framerate": 144, + "autosens": 0, + "sensitivity": 100, + "bars": 12, + "lower_cutoff_freq": 50, + "higher_cutoff_freq": 10000, + "method": "pipewire", + "source": "auto", + "stereo": true, + "reverse": false, + "bar_delimiter": 0, + "monstercat": false, + "waves": false, + "noise_reduction": 0.77, + "input_delay": 4, + "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], + "actions": { + "on-click-right": "mode", + }, + }, + "battery": { + "states": { + "good": 75, + "warning": 30, + "critical": 15, + }, + "format": "{capacity}% {icon}", + "format-full": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""], + }, }