Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

raffaem/waybar-hyprland-lidswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

waybar-hyprland-lidswitch

Waybar module to manage lidswitch from hyprland (i.e., at the compositor-level).

Copy lidswitch into $HOME/.config/waybar/scripts.

Put the following in waybar's config file:

"custom/lidswitch": {
    "exec": "$HOME/.config/waybar/scripts/lidswitch status",
    "interval": "once",
    "signal": 3,
    "format": "{}",
    "return-type": "json",
    "on-click": "$HOME/.config/waybar/scripts/lidswitch toggle"
},

Enable lidswitch management at start-up by putting the following in hyprland config file:

/home/USERNAME/.config/waybar/waybar-hyprland-lidswitch/lidswitch on

About

Waybar module to manage lidswitch from hyprland (i.e., at the compositor level)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages