Skip to content

jmanc3/hyprselect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyprSelect

HyprSelect adds a desktop selection box to Hyprland, that does absolutely nothing, but is absolutely essential.

Image of desktop selection on empty desktop

Installation

git clone https://github.com/jmanc3/hyprselect
cd hyprselect
make

That should create hyprselect.so.

To auto start it with Hyprland, add the following to $HOME/.config/hypr/hyprland.lua

hl.exec_cmd("sleep 3s; hyprctl plugin load /full/qualified/path/to/hyprselect.so")

Manual starting

Or you can load it manually:

hyprctl plugin load /full/qualified/path/to/hyprselect.so.

And unload it with:

hyprctl plugin unload /full/qualified/path/to/hyprselect.so.

Config Variables

If you want to customize, you can add the following to $HOME/.config/hypr/hyprland.lua

hl.config({
    plugin = {
        hyprselect = {
            should_round = false,

            col = {
                main   = "rgba(0085e625)",
                border = "rgba(0085e6ff)",
            },

            fade_time_ms = 65.0,

            should_blur = false,
            blur_power = 1.0,  -- range: 0.0 -> 1.0

            border_size = -1.0,  -- negative number means automatic
            rounding = 6,
            rounding_power = 2.0,
        }
    }
})

About

A plugin that adds a completely useless desktop selection box to Hyprland

Resources

License

Stars

88 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors