From 59569acb4f7f9b45ece30adf1740ecdc9dca58cc Mon Sep 17 00:00:00 2001 From: sudacode Date: Tue, 18 Mar 2025 20:07:26 -0700 Subject: [PATCH] update --- catppuccin-macchiato/config.jsonc | 20 +++++++++++++++----- catppuccin-macchiato/style.css | 9 ++++++++- colors.css | 1 + config-laptop.jsonc | 1 + config.jsonc | 1 + scripts/firefox-status.sh | 1 - scripts/playerctl.sh | 1 + scripts/scroll-mpv.sh | 1 + style.css | 1 + 9 files changed, 29 insertions(+), 7 deletions(-) create mode 120000 colors.css create mode 120000 config-laptop.jsonc create mode 120000 config.jsonc delete mode 120000 scripts/firefox-status.sh create mode 120000 scripts/playerctl.sh create mode 120000 scripts/scroll-mpv.sh create mode 120000 style.css diff --git a/catppuccin-macchiato/config.jsonc b/catppuccin-macchiato/config.jsonc index 5057e0c..1f82c8f 100644 --- a/catppuccin-macchiato/config.jsonc +++ b/catppuccin-macchiato/config.jsonc @@ -13,7 +13,8 @@ "tray", "hyprland/submap", "custom/mpd-scroll", - "custom/firefox", + "custom/mpv-scroll", + "custom/firefox-scroll", "cava", ], "modules-center": ["hyprland/window"], @@ -236,6 +237,9 @@ }, "hyprland/window": { "max-length": 88, + "rewrite": { + "(.*) - YouTube(.*)": "", + }, }, "custom/updates": { "format": "{} {icon}", @@ -253,7 +257,7 @@ "on-click": "rofi -show drun", "tooltip": false, }, - "custom/firefox": { + "custom/firefox-scroll": { "exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh", "format": "{}", "max-length": 35, @@ -261,7 +265,6 @@ "hide-empty-text": true, }, "custom/mpd-scroll": { - "escape": "true", "exec": "$HOME/.config/waybar/scripts/scroll-mpd.sh", "format": "{}", "max-length": 35, @@ -275,8 +278,8 @@ // "cava_config": "$HOME/.config/cava/config", "framerate": 144, "autosens": 0, - "sensitivity": 100, - "bars": 12, + "sensitivity": 69, + "bars": 21, "lower_cutoff_freq": 50, "higher_cutoff_freq": 10000, "method": "pipewire", @@ -293,4 +296,11 @@ "on-click-right": "mode", }, }, + "custom/mpv-scroll": { + "exec": "$HOME/.config/waybar/scripts/scroll-mpv.sh", + "format": " {}", + "max-length": 35, + "on-click": "playerctl -p firefox play-pause", + "hide-empty-text": true, + }, } diff --git a/catppuccin-macchiato/style.css b/catppuccin-macchiato/style.css index 86f4f1a..3a729c2 100644 --- a/catppuccin-macchiato/style.css +++ b/catppuccin-macchiato/style.css @@ -263,7 +263,7 @@ label:focus { margin: 0 0 0 0.24em; } -#custom-firefox { +#custom-firefox-scroll { color: @mantle; background-color: @peach; padding: 0 10px; @@ -299,3 +299,10 @@ label:focus { color: @base; background-color: @green; } + +#custom-mpv-scroll { + background-color: @flamingo; + color: @base; + padding: 0 10px; + margin: 5px 1px; +} diff --git a/colors.css b/colors.css new file mode 120000 index 0000000..79913f8 --- /dev/null +++ b/colors.css @@ -0,0 +1 @@ +catppuccin-macchiato/colors.css \ No newline at end of file diff --git a/config-laptop.jsonc b/config-laptop.jsonc new file mode 120000 index 0000000..c45d71a --- /dev/null +++ b/config-laptop.jsonc @@ -0,0 +1 @@ +catppuccin-macchiato/config-laptop.jsonc \ No newline at end of file diff --git a/config.jsonc b/config.jsonc new file mode 120000 index 0000000..21e76f2 --- /dev/null +++ b/config.jsonc @@ -0,0 +1 @@ +catppuccin-macchiato/config.jsonc \ No newline at end of file diff --git a/scripts/firefox-status.sh b/scripts/firefox-status.sh deleted file mode 120000 index 0926e03..0000000 --- a/scripts/firefox-status.sh +++ /dev/null @@ -1 +0,0 @@ -../../../projects/scripts/waybar/firefox-status.sh \ No newline at end of file diff --git a/scripts/playerctl.sh b/scripts/playerctl.sh new file mode 120000 index 0000000..346cc36 --- /dev/null +++ b/scripts/playerctl.sh @@ -0,0 +1 @@ +../../../projects/scripts/waybar/playerctl.sh \ No newline at end of file diff --git a/scripts/scroll-mpv.sh b/scripts/scroll-mpv.sh new file mode 120000 index 0000000..defc0cc --- /dev/null +++ b/scripts/scroll-mpv.sh @@ -0,0 +1 @@ +../../../projects/scripts/waybar/scroll-mpv.sh \ No newline at end of file diff --git a/style.css b/style.css new file mode 120000 index 0000000..4d4de91 --- /dev/null +++ b/style.css @@ -0,0 +1 @@ +catppuccin-macchiato/style.css \ No newline at end of file