Skip to content

Use $mainMod instead of SUPER for keybinds #1115

Description

@kromsam

Currently, SUPER as modkey is pretty much hard-coded throughout the omarchy defaults.

The standard Hyprland config does this differently:

https://github.com/hyprwm/Hyprland/blob/0ed880f3f7dc2c746bf3590eee266c010d737558/example/hyprland.conf#L224

$mainMod = SUPER # Sets "Windows" key as main modifier
and then
bind = $mainMod, Q, exec, $terminal

Would it make sense to add this modkey variable to the bindings, such that users can change their modkey a bit easier?

I thought that we could do this by adding an extra source to hyprland.conf: mod.conf that contains the line from the hyprland config. I tried configuring this myself for a bit, but I got a bit stuck. Would it be even possible?

(FYI: Im currently writing from a Superless IBM Model M - keyboard ;) , that's why this came up. I would like to set it to CAPSLOCK)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions