一个用于 hyprland 的音乐控制条
A sleek, modern music control bar for Wayland compositors (Hyprland, Niri, Sway, etc.) with MPRIS integration, 14 built-in themes, and dynamic customization.
hyprwave is officially complete!
NEW in v1.0: Dynamic position switching, theme system with 14 pre-made themes, smooth animations for all changes!
Built and primarily tested on Niri, for all Wayland compositors that support GTK4 and GTK4-layer-shell.
Check out the subreddit for posting your rices, themes, favorite albums -> https://www.reddit.com/r/hyprwave/
Style hyprwave to your taste with 14 built-in themes, or create your own!
HyprWave v1.0 includes 14 stunning themes:
Switch instantly with hyprwave-toggle set-theme !
Check out THEMES.md to see all 14 themes with previews!
https://github.com/user-attachments/assets/c4e84d3c-c93f-4bfe-b5e9-f7888b3b8b53
margin = 10
layer = top
exclusive_zone = 0
[Notifications] enabled = true now_playing = true
[Visualizer]
enabled = true
idle_timeout = 5
[VerticalDisplay] enabled = true idle_timeout = 5
[MusicPlayer] preference = spotify,vlc,firefox,brave
**Note:** Position and themes can be changed on-the-fly without editing config!
**Note:** The `layer` and `exclusive_zone` options use the `wlr-layer-shell` protocol and work on **any compatible Wayland compositor** (Hyprland, Sway, river, wayfire, Niri, etc.) — they are not Hyprland-specific.
## Customization
### Switching Themes
Change themes instantly:
```bash
# Try any of the 14 built-in themes
hyprwave-toggle set-theme nebula
hyprwave-toggle set-theme octane
hyprwave-toggle set-theme midnight-city
hyprwave-toggle set-theme glacier
# List all available themes
hyprwave-toggle set-theme invalid # Shows theme listCreate themes directory (AUR users):
mkdir -p ~/.local/share/hyprwave/themesCopy a template:
# AUR users
cp /usr/share/hyprwave/themes/mystic-portal.css ~/.local/share/hyprwave/themes/my-theme.css
# Local install users
cd ~/.local/share/hyprwave/themes
cp mystic-portal.css my-theme.cssEdit the CSS variables:
nano ~/.local/share/hyprwave/themes/my-theme.cssCustomize the :root variables:
Apply your theme:
hyprwave-toggle set-theme my-themeShare your custom themes with the community!
.css file to r/hyprwaveAdd to ~/.config/hypr/hyprland.conf:
# HyprWave - Window Controls
bind = SUPER_SHIFT, M, exec, hyprwave-toggle visibility
bind = SUPER, M, exec, hyprwave-toggle expand
# HyprWave - Media Controls
bind = SUPER, P, exec, hyprwave-toggle play
bind = SUPER, PERIOD, exec, hyprwave-toggle next
bind = SUPER, COMMA, exec, hyprwave-toggle prev
# HyprWave - Theme Switching (v1.0)
bind = SUPER_SHIFT, T, exec, hyprwave-toggle set-theme nebula
bind = SUPER_CTRL, T, exec, hyprwave-toggle set-theme octane
# HyprWave - Position Switching (v1.0)
bind = SUPER_SHIFT, LEFT, exec, hyprwave-toggle set-position left
bind = SUPER_SHIFT, RIGHT, exec, hyprwave-toggle set-position right
bind = SUPER_SHIFT, UP, exec, hyprwave-toggle set-position top
bind = SUPER_SHIFT, DOWN, exec, hyprwave-toggle set-position bottomReload: hyprctl reload
Add to ~/.config/niri/config.kdl:
binds {
// Window Controls
MOD+SHIFT+M { spawn-sh "hyprwave-toggle visibility"; }
MOD+M { spawn-sh "hyprwave-toggle expand"; }
// Media Controls
MOD+P { spawn-sh "hyprwave-toggle play"; }
MOD+PERIOD { spawn-sh "hyprwave-toggle next"; }
MOD+COMMA { spawn-sh "hyprwave-toggle prev"; }
// Theme Switching (v1.0)
MOD+SHIFT+T { spawn-sh "hyprwave-toggle set-theme nebula"; }
// Position Switching (v1.0)
MOD+SHIFT+LEFT { spawn-sh "hyprwave-toggle set-position left"; }
MOD+SHIFT+RIGHT { spawn-sh "hyprwave-toggle set-position right"; }
MOD+SHIFT+UP { spawn-sh "hyprwave-toggle set-position top"; }
MOD+SHIFT+DOWN { spawn-sh "hyprwave-toggle set-position bottom"; }
}Reload: niri msg action reload-config
Add to ~/.config/sway/config:
# Window Controls
bindsym $mod+Shift+M exec hyprwave-toggle visibility
bindsym $mod+M exec hyprwave-toggle expand
# Media Controls
bindsym $mod+P exec hyprwave-toggle play
bindsym $mod+period exec hyprwave-toggle next
bindsym $mod+comma exec hyprwave-toggle prev
# Theme Switching (v1.0)
bindsym $mod+Shift+T exec hyprwave-toggle set-theme nebula
# Position Switching (v1.0)
bindsym $mod+Shift+Left exec hyprwave-toggle set-position left
bindsym $mod+Shift+Right exec hyprwave-toggle set-position right
bindsym $mod+Shift+Up exec hyprwave-toggle set-position top
bindsym $mod+Shift+Down exec hyprwave-toggle set-position bottomReload: swaymsg reload
https://github.com/user-attachments/assets/5bd27ec4-6b51-46fb-bf6e-fcb3cb3252b1
Hyprland:
exec-once = hyprwaveNiri:
spawn-at-startup "hyprwave"Control your music during gameplay without touching the mouse!
Tested Games: Terraria, Cuphead, Fallout New Vegas
Add to hyprland.conf:
layerrule = noblur, hyprwave
layerrule = noblur, hyprwave-notificationhyprwave-toggle set-theme nebula~/.local/share/hyprwave/See GitHub Issues for common problems and solutions.
System Install (AUR):
/usr/bin/hyprwave/usr/share/hyprwave//usr/share/hyprwave/themes/~/.local/share/hyprwave/themes/~/.local/share/hyprwave/style.cssLocal Install:
~/.local/bin/hyprwave~/.local/share/hyprwave/~/.local/share/hyprwave/themes/Config: ~/.config/hyprwave/config.conf
set-theme and set-position commandsContributions welcome!
Open source. Free to use, modify, and distribute.
暂无开放 Issues,或尚未同步最近议题。