Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation? #28

Closed
SisyphusIsntHappy opened this issue Dec 26, 2021 · 9 comments
Closed

Missing documentation? #28

SisyphusIsntHappy opened this issue Dec 26, 2021 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@SisyphusIsntHappy
Copy link

I could not find documentation on keybindings, especially, quitting and reloading Hypr. Is there any? The example config doesn't have those bindings.

@SisyphusIsntHappy SisyphusIsntHappy added the enhancement New feature or request label Dec 26, 2021
@linuxmobile
Copy link

linuxmobile commented Dec 26, 2021

I could not find documentation on keybindings, especially, quitting and reloading Hypr. Is there any? The example config doesn't have those bindings.

I want to add something too. I can't find the way to add: Some rofi scripts, some shortcuts to notify-send.sh like:

XF86AudioRaiseVolume(vol +) = command "bash -c '~/.scripts/notify/change-volume up"
XF86AudioLowerVolume (vol -)  = command "bash -c '~/.scripts/notify/change-volume down"
PRINT = bash -c '~/.scripts/shot-now'


More documentation can be perfect :)

@vaxerski
Copy link
Member

vaxerski commented Dec 26, 2021

Regarding the first comment:
There is no keybinding for reloading Hypr. What do you want to reload? The config gets reloaded automatically.

There is no keybinding for quitting hypr. Use bind=mod,key,exec,pkill Hypr

Regarding the second comment:
What are the commands here? those after bash -c? just put them in an exec bind:
bind=mod,key,exec,~/scripts/shot-now

The documentation mentions the exec dispatcher and it's also used in the example config.

@linuxmobile
Copy link

Regarding the first comment: There is no keybinding for reloading Hypr. What do you want to reload? The config gets reloaded automatically.

There is no keybinding for quitting hypr. Use bind=mod,key,exec,pkill Hypr

Regarding the second comment: What are the commands here? those after bash -c? just put them in an exec bind: bind=mod,key,exec,~/scripts/shot-now

The documentation mentions the exec dispatcher and it's also used in the example config.

I can't get workin PRINT key, and a lot of .scripts can't run too.
same problem with XF86AudioLowerVolume this keys... You can find my dotfiles in my user.

@SisyphusIsntHappy
Copy link
Author

There is no keybinding for quitting hypr. Use bind=mod,key,exec,pkill Hypr

Will pkill Hypr kill all the processes that were started by Hypr??

@vaxerski
Copy link
Member

Print keys and the other ones aren't a feature. I can add that in. Regarding the scripts, it probably is an issue on your end. try absolute paths.

Ad 2. pkill Hypr will make xorg exit, so probably yes.

@vaxerski
Copy link
Member

Added support for all x keys in fa20d13

Check your key's name with xmodmap -pk or xev -event keyboard, for prt scr it's "Print" (case-sensitive!)

@samwhelp
Copy link

samwhelp commented Dec 27, 2021

Added support for all x keys in fa20d13

Check your key's name with xmodmap -pk or xev -event keyboard, for prt scr it's "Print" (case-sensitive!)

It works.

Thanks for your effort.

Please see my hypr.conf and spec-keybind.

See Also

@linuxmobile
Copy link

Added support for all x keys in fa20d13

Check your key's name with xmodmap -pk or xev -event keyboard, for prt scr it's "Print" (case-sensitive!)

Great. It works. Thx u a lot. This is an amazing project

@vaxerski
Copy link
Member

Closing. Issue fixed and I've clarified it in the wiki that you do not reload hypr with a keybind and you exit with e.g. pkill Hypr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants