This commit is contained in:
sudacode 2025-03-18 20:07:26 -07:00
parent 4191642f08
commit 59569acb4f
Signed by: sudacode
SSH Key Fingerprint: SHA256:lT5C2bB398DcX6daCF/gYFNSTK3y+Du3oTGUnYzfTEw
9 changed files with 29 additions and 7 deletions

View File

@ -13,7 +13,8 @@
"tray", "tray",
"hyprland/submap", "hyprland/submap",
"custom/mpd-scroll", "custom/mpd-scroll",
"custom/firefox", "custom/mpv-scroll",
"custom/firefox-scroll",
"cava", "cava",
], ],
"modules-center": ["hyprland/window"], "modules-center": ["hyprland/window"],
@ -236,6 +237,9 @@
}, },
"hyprland/window": { "hyprland/window": {
"max-length": 88, "max-length": 88,
"rewrite": {
"(.*) - YouTube(.*)": "",
},
}, },
"custom/updates": { "custom/updates": {
"format": "{} {icon}", "format": "{} {icon}",
@ -253,7 +257,7 @@
"on-click": "rofi -show drun", "on-click": "rofi -show drun",
"tooltip": false, "tooltip": false,
}, },
"custom/firefox": { "custom/firefox-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh", "exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
"format": "<span color='#E66000'> </span>{}", "format": "<span color='#E66000'> </span>{}",
"max-length": 35, "max-length": 35,
@ -261,7 +265,6 @@
"hide-empty-text": true, "hide-empty-text": true,
}, },
"custom/mpd-scroll": { "custom/mpd-scroll": {
"escape": "true",
"exec": "$HOME/.config/waybar/scripts/scroll-mpd.sh", "exec": "$HOME/.config/waybar/scripts/scroll-mpd.sh",
"format": "{}", "format": "{}",
"max-length": 35, "max-length": 35,
@ -275,8 +278,8 @@
// "cava_config": "$HOME/.config/cava/config", // "cava_config": "$HOME/.config/cava/config",
"framerate": 144, "framerate": 144,
"autosens": 0, "autosens": 0,
"sensitivity": 100, "sensitivity": 69,
"bars": 12, "bars": 21,
"lower_cutoff_freq": 50, "lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000, "higher_cutoff_freq": 10000,
"method": "pipewire", "method": "pipewire",
@ -293,4 +296,11 @@
"on-click-right": "mode", "on-click-right": "mode",
}, },
}, },
"custom/mpv-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-mpv.sh",
"format": "<span color='#450241'> </span> {}",
"max-length": 35,
"on-click": "playerctl -p firefox play-pause",
"hide-empty-text": true,
},
} }

View File

@ -263,7 +263,7 @@ label:focus {
margin: 0 0 0 0.24em; margin: 0 0 0 0.24em;
} }
#custom-firefox { #custom-firefox-scroll {
color: @mantle; color: @mantle;
background-color: @peach; background-color: @peach;
padding: 0 10px; padding: 0 10px;
@ -299,3 +299,10 @@ label:focus {
color: @base; color: @base;
background-color: @green; background-color: @green;
} }
#custom-mpv-scroll {
background-color: @flamingo;
color: @base;
padding: 0 10px;
margin: 5px 1px;
}

1
colors.css Symbolic link
View File

@ -0,0 +1 @@
catppuccin-macchiato/colors.css

1
config-laptop.jsonc Symbolic link
View File

@ -0,0 +1 @@
catppuccin-macchiato/config-laptop.jsonc

1
config.jsonc Symbolic link
View File

@ -0,0 +1 @@
catppuccin-macchiato/config.jsonc

View File

@ -1 +0,0 @@
../../../projects/scripts/waybar/firefox-status.sh

1
scripts/playerctl.sh Symbolic link
View File

@ -0,0 +1 @@
../../../projects/scripts/waybar/playerctl.sh

1
scripts/scroll-mpv.sh Symbolic link
View File

@ -0,0 +1 @@
../../../projects/scripts/waybar/scroll-mpv.sh

1
style.css Symbolic link
View File

@ -0,0 +1 @@
catppuccin-macchiato/style.css