Compare commits

..

9 Commits

Author SHA1 Message Date
8b880ea838 Merge branch 'master' of gitea.suda.codes:sudacode/waybar 2025-03-20 20:45:18 -07:00
84a8da445a add mpv to exclusion for window 2025-03-20 20:44:59 -07:00
0c7b82c7bc update laptop conf 2025-03-18 23:12:51 -07:00
8dcbae1568 update gaps 2025-03-18 20:30:20 -07:00
59569acb4f update 2025-03-18 20:07:26 -07:00
4191642f08 update laptop config 2025-03-18 01:37:18 -07:00
0085e879d5 udpate laptop config 2025-03-18 01:35:18 -07:00
3136948589 update 2025-03-17 00:56:35 -07:00
e6ab8c75cb update laptop config 2025-03-17 00:38:14 -07:00
13 changed files with 98 additions and 60 deletions

View File

@@ -5,49 +5,35 @@
"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",
"custom/firefox",
"hyprland/submap",
"custom/mpd-scroll",
"custom/firefox-scroll",
"cava",
],
"modules-center": ["hyprland/window"],
"modules-right": [
"hyprland/scratchpad",
"idle_inhibitor",
"custom/updates",
"custom/kernel",
// "custom/kernel",
// "disk#ssd",
// "temperature",
"cpu",
"memory",
// "cpu",
// "memory",
// "custom/weather",
"bluetooth",
"network",
"pulseaudio",
"battery",
"clock",
"custom/weather",
],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{icon}",
"format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
"urgent": "",
// "focused": "",
// "default": ""
},
},
"bluetooth": {
"format-on": "bt ",
"format-off": "bt ({status}) ",
@@ -60,8 +46,10 @@
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "blueman-manager",
},
"hyprland/mode": {
"format": "<span style=\"italic\">{}</span>",
"hyprland/submap": {
"format": "{}",
"max-length": 8,
"tooltip": false,
},
"hyprland/scratchpad": {
"format": "{icon} {count}",
@@ -84,7 +72,8 @@
"clock": {
"interval": 60,
"timezone": "America/Los_Angeles",
"format": "{:%F %R }",
"format": "{:%R }",
"format-alt": "{:%F %R }",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "year",
@@ -162,9 +151,12 @@
},
"pulseaudio": {
"scroll-step": 2,
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
// "format": "{volume}% {icon} {format_source}",
// "format-bluetooth": "{volume}% {icon} {format_source}",
// "format-bluetooth-muted": " {icon} {format_source}",
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-bluetooth-muted": " {icon}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
@@ -178,21 +170,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 +230,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",
@@ -265,22 +242,59 @@
"on-click": "rofi -show drun",
"tooltip": false,
},
"custom/firefox": {
"custom/firefox-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
"format": "<span color='#E66000'> </span>{}",
"max-length": 35,
"max-length": 30,
"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": "{}",
"max-length": 35,
"max-length": 30,
"on-click": "mpc toggle",
"on-click-right": "ghostty --initial-command=ncmpcpp",
"on-scroll-down": "mpc volume -5",
"on-scroll-up": "mpc volume +5",
"hide-empty-text": true,
},
"cava": {
// "cava_config": "$HOME/.config/cava/config",
"framerate": 144,
"autosens": 0,
"sensitivity": 100,
"bars": 18,
"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": ["", "", "", "", ""],
},
}

View File

@@ -2,18 +2,19 @@
"layer": "top",
"position": "top",
"height": 40,
"width": 2550,
"width": 2545,
"spacing": 1,
"reload_style_on_change": true,
"fixed-center": true,
"margin": "10 5 0 5",
"margin": "8px 5px 0 5px",
"modules-left": [
"custom/launcher",
"hyprland/workspaces",
"tray",
"hyprland/submap",
"custom/mpd-scroll",
"custom/firefox",
"custom/mpv-scroll",
"custom/firefox-scroll",
"cava",
],
"modules-center": ["hyprland/window"],
@@ -236,6 +237,10 @@
},
"hyprland/window": {
"max-length": 88,
"rewrite": {
"(.*) - YouTube(.*)": "",
"(.*) - mpv(.*)": "",
},
},
"custom/updates": {
"format": "{} {icon}",
@@ -253,7 +258,7 @@
"on-click": "rofi -show drun",
"tooltip": false,
},
"custom/firefox": {
"custom/firefox-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
"format": "<span color='#E66000'> </span>{}",
"max-length": 35,
@@ -261,7 +266,6 @@
"hide-empty-text": true,
},
"custom/mpd-scroll": {
"escape": "true",
"exec": "$HOME/.config/waybar/scripts/scroll-mpd.sh",
"format": "{}",
"max-length": 35,
@@ -275,8 +279,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 +297,11 @@
"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;
}
#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;
}

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/escape-mpc-pango.sh

1
scripts/escape-pango.sh Symbolic link
View File

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

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/reload-waybar Symbolic link
View File

@@ -0,0 +1 @@
../../../projects/scripts/waybar/reload-waybar

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