Skip to content

A simple Hyprland title bar module for Waybar

Notifications You must be signed in to change notification settings

MrYuto/hyprtitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyprtitle

A simple Hyprland title bar module for Waybar.

hyprtitle

Features

  • Active workspace details
    • Name
    • Window count
  • Active window details
    • Title
    • Class
    • Size
    • Position
    • Pinned
    • Floating
    • Xwayland
  • Copy to clipboard using wl-copy

Installation

Compile using cargo build --release, or download the binary from the releases page.

Waybar config

  "custom/hyprtitle": {
    "max-length": 50, // Optional max length to avoid long title
    "tooltip": true,
    "exec": "/path/to/hyprtitle/hyprtitle",
    "return-type": "json",
    "on-click": "/path/to/hyprtitle copy --class",
    "on-click-right": "/path/to/hyprtitle copy --title"
  }

Copy to clipboard usage

hyprtitle copy [OPTIONS]

Options:
  -t, --title
  -c, --class
  -s, --size
  -p, --position
  -h, --help