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

Fix config #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix config #21

wants to merge 3 commits into from

Conversation

Ly-sec
Copy link
Contributor

@Ly-sec Ly-sec commented Dec 21, 2024

Switch bindd and bindde to bind since this is the usual way of handling binds.

@Ly-sec
Copy link
Contributor Author

Ly-sec commented Dec 21, 2024

Switched everything to bindd so it uses this syntax: bindd = MODS, key, description, dispatcher, params

## Resizing windows
# Activate keyboard window resize mode
# https://wiki.hyprland.org/0.45.0/Configuring/Binds/#submaps
# https://wiki.hyprland.org/0.45.0/Configuring/bindds/#submaps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link 404s

@@ -28,8 +28,8 @@ bindd = $mainMod, G, Remove gaps between window, exec, hyprctl --batch "keyword

# ======= Volume Control =======

bindde = , XF86AudioLowerVolume, Decreases player audio volume, exec, pamixer -ud 3 && pamixer --get-volume > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
bindde = , XF86AudioRaiseVolume, Increases player audio volume, exec, pamixer -ui 3 && pamixer --get-volume > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe bindde is the correct bind to use here, since we want it to keep repeating itself when its held.

etc/skel/.config/hypr/config/keybinds.conf Outdated Show resolved Hide resolved
@Ly-sec
Copy link
Contributor Author

Ly-sec commented Dec 21, 2024

Done, my bad.

@msmafra
Copy link
Contributor

msmafra commented Dec 22, 2024

I added the descriptions bindd instead of bind is needed to keep the descriptions, without it Hyprland will show errors.

l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
r -> release, will trigger on release of a key.
o -> longPress, will trigger on long press of a key.
e -> repeat, will repeat when held.
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
m -> mouse, see below.
t -> transparent, cannot be shadowed by other binds.
i -> ignore mods, will ignore modifiers.
s -> separate, will arbitrarily combine keys between each mod/key, see Keysym combos above.
d -> has description, will allow you to write a description for your bind.
p -> bypasses the app's requests to inhibit keybinds.

from https://wiki.hyprland.org/Configuring/Binds/#bind-flags

@Ly-sec
Copy link
Contributor Author

Ly-sec commented Dec 24, 2024

I added the descriptions bindd instead of bind is needed to keep the descriptions, without it Hyprland will show errors.

l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
r -> release, will trigger on release of a key.
o -> longPress, will trigger on long press of a key.
e -> repeat, will repeat when held.
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
m -> mouse, see below.
t -> transparent, cannot be shadowed by other binds.
i -> ignore mods, will ignore modifiers.
s -> separate, will arbitrarily combine keys between each mod/key, see Keysym combos above.
d -> has description, will allow you to write a description for your bind.
p -> bypasses the app's requests to inhibit keybinds.

from https://wiki.hyprland.org/Configuring/Binds/#bind-flags

This wont change the current config though?

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

Successfully merging this pull request may close these issues.

3 participants