百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

hyprwave

> 编程语言
开源

一个用于 hyprland 的音乐控制条

197 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个用于 hyprland 的音乐控制条

hyprwave - v1.1 (STABLE)

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/

Your Control Bar, Your Imagination

Style hyprwave to your taste with 14 built-in themes, or create your own!

Built-in Themes

HyprWave v1.0 includes 14 stunning themes:

  • mystic-portal - Purple/pink portal with blue depths (default)
  • nebula - Deep space with orange stars and teal nebulae
  • octane - Pure black and white minimalist (shown below)
  • noir-esque - Dark backdrop with cream and gold accents
  • emerald-splash - Dark forest with bright emerald and mint
  • pink-europa - Dark silhouettes with pink and peach sunset
  • glacier - Icy white with glacier blue accents
  • midnight-city - Dark cityscape with bright blue accents
  • prismarine-wave - Turquoise ocean waves
  • pink-punk - Soft pink clouds with hot pink accents
  • love-sick - Rainy night with hot pink and orange neon
  • lucid-dreaming - Dark base with vibrant pink/purple/cyan retro
  • neo-lights - Dark base with multi-color neon accents
  • deathstar - Dark smoky with silver/cyan racing aesthetic

Switch instantly with hyprwave-toggle set-theme !

OCTANE THEME

Check out THEMES.md to see all 14 themes with previews!

Screenshots & GIFs

Vertical Layout

Horizontal Layout

Audio Visualizer (Idle Mode - Horizontal)

Top Bar

Bottom Bar

Transition from control bar to visualizer bar

Dot Matrix Display (Idle Mode - Vertical)

https://github.com/user-attachments/assets/c4e84d3c-c93f-4bfe-b5e9-f7888b3b8b53

Layout Examples

Right

Top

Bottom

Left

Features

  • 14 Built-in Themes - From minimalist to vibrant, switch themes instantly (NEW in v1.0)
  • Dynamic Position Switching - Move HyprWave to any edge on-the-fly (NEW in v1.0)
  • Custom Theme Support - Create and share your own themes easily (NEW in v1.0)
  • Elegant Design - Glassmorphic UI with smooth animations
  • MPRIS Integration - Works with Spotify, VLC, and any MPRIS-compatible player
  • Album Art Display - Fetches and displays album artwork
  • Live Progress Tracking - Real-time progress bar with countdown timer
  • Full Playback Controls - Play/Pause, Next, Previous buttons
  • Media Control Keybinds - Direct keyboard shortcuts for play/pause, next, previous
  • Expandable Panel - Toggle to reveal detailed track information
  • Volume Control - Double-click album cover to show/hide volume slider
  • Audio Visualizer - Real-time audio visualization with idle mode animation
  • Dot Matrix Display - 8-bit style scrolling text for vertical layouts
  • Idle Mode - Automatically morphs into visualizer/display after inactivity
  • Now Playing Notifications - Elegant slide-in notifications for track changes
  • Configurable Layout - Position on any screen edge (left, right, top, bottom)
  • Layer & Exclusive Zone Control - Choose which layer to render on and whether to overlap other surfaces like waybar
  • Gaming Support - Control music during gameplay without moving mouse
  • Minimal Resource Usage - ~80-95MB RAM, edge = right

Margin from the screen edge (in pixels)

margin = 10

Layer to render on (works on any wlr-layer-shell compositor)

Options: background, bottom, top, overlay

Use "top" to stay below fullscreen windows (same layer as waybar)

Use "overlay" to render above everything including fullscreen

layer = top

Exclusive zone controls surface overlap behavior

0 = respect other surfaces' reserved space (e.g. waybar)

-1 = overlap everything, ignore other surfaces' exclusive zones

exclusive_zone = 0

[Notifications] enabled = true now_playing = true

[Visualizer]

Enable/disable visualizer (horizontal layout only)

enabled = true

Idle timeout in seconds before visualizer appears

Set to 0 to disable auto-activation

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 list

Creating Custom Themes

  1. Create themes directory (AUR users):

    bash
    mkdir -p ~/.local/share/hyprwave/themes
  2. Copy a template:

    bash
    # 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.css
  3. Edit the CSS variables:

    bash
    nano ~/.local/share/hyprwave/themes/my-theme.css

    Customize the :root variables:

    • Background colors
    • Button colors (play, expand, default)
    • Progress bar gradients
    • Text colors
    • Border and shadow effects
    • Visualizer bar gradients
  4. Apply your theme:

    bash
    hyprwave-toggle set-theme my-theme

Sharing Themes

Share your custom themes with the community!

  1. Upload your .css file to r/hyprwave
  2. Others can download and copy to their themes folder
  3. Popular themes may be included in future releases!

Keybinds

Hyprland

Add to ~/.config/hypr/hyprland.conf:

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 bottom

Reload: hyprctl reload

Niri

Add to ~/.config/niri/config.kdl:

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

Sway

Add to ~/.config/sway/config:

conf
# 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 bottom

Reload: swaymsg reload

Keybind Demo

https://github.com/user-attachments/assets/5bd27ec4-6b51-46fb-bf6e-fcb3cb3252b1

Auto-start

Hyprland:

conf
exec-once = hyprwave

Niri:

kdl
spawn-at-startup "hyprwave"

Gaming Support

Control your music during gameplay without touching the mouse!

  • ✅ Works during active gameplay
  • ✅ No mouse needed
  • ✅ Works when hidden
  • ✅ Instant response

Tested Games: Terraria, Cuphead, Fallout New Vegas

Troubleshooting

Black box around HyprWave (Hyprland)

Add to hyprland.conf:

conf
layerrule = noblur, hyprwave
layerrule = noblur, hyprwave-notification

Theme/Position changes not working

  1. Ensure HyprWave is running
  2. Test manually: hyprwave-toggle set-theme nebula
  3. For AUR users: First theme change creates ~/.local/share/hyprwave/

Other Issues

See GitHub Issues for common problems and solutions.

Technical Details

  • Language: C
  • GUI: GTK4
  • Layer Shell: gtk4-layer-shell
  • Audio: PulseAudio
  • IPC: D-Bus (MPRIS2)
  • Memory: ~80-95MB RAM (base), ~100-110MB with visualizer
  • CPU: <0.3% idle, <2% with visualizer

File Paths

System Install (AUR):

  • Binary: /usr/bin/hyprwave
  • System resources: /usr/share/hyprwave/
  • System themes: /usr/share/hyprwave/themes/
  • User themes: ~/.local/share/hyprwave/themes/
  • User CSS: ~/.local/share/hyprwave/style.css

Local Install:

  • Binary: ~/.local/bin/hyprwave
  • Resources: ~/.local/share/hyprwave/
  • Themes: ~/.local/share/hyprwave/themes/

Config: ~/.config/hyprwave/config.conf

Changelog

v1.0 (STABLE - Latest)

  • NEW: Theme system with 14 pre-made themes
  • NEW: Dynamic position switching
  • NEW: Custom theme support
  • NEW: Smooth animations for all changes
  • NEW: set-theme and set-position commands
  • Improved path handling for AUR/local installs
  • User themes override system themes
  • STABLE RELEASE - Production ready!

Contributing

Contributions welcome!

  • GitHub Issues - Report bugs
  • GitHub Discussions - Feature requests
  • r/hyprwave - Share themes and rices

License

Open source. Free to use, modify, and distribute.

Acknowledgments

  • Built with GTK4
  • Uses gtk4-layer-shell
  • Audio via PulseAudio
  • Inspired by waybar

Support

  • Issues: GitHub Issues
  • Discussions: GitHub Discussions
  • Subreddit: r/hyprwave

Stargazers

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cdotfilegtk4hyprlandlinux

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言