feat: Hotkeys #5

Merged
krauterbaquette merged 3 commits from hotkeys into Dev 2025-07-28 18:37:56 +02:00
krauterbaquette commented 2025-07-28 15:31:42 +02:00 (Migrated from github.com)

With this PR the user will be able to specify custom keybinds for commands and xfwm4.

It exposes two new options:

  • nixos95.keybinds.commands
  • nixos95.keybinds.xfwm4

Both accept a list of attribute sets of the following schema:

{
  enable = bool; [optional; default = true]
  key = string; [keycode to activate the shortcut with]
  pkg = package; [either this or exe; specifies which command to run] 
  exe = string; [either this or pkg; specifies which command to run]
}

Currently there is no good documenation about valid keys and the schema behind them. This should be imrpoved further later on, but i could not find any good original xfce4 documentation for it (as it mainly says to use the GUI)

With this PR the user will be able to specify custom keybinds for commands and xfwm4. It exposes two new options: - `nixos95.keybinds.commands` - `nixos95.keybinds.xfwm4` Both accept a list of attribute sets of the following schema: ```nix { enable = bool; [optional; default = true] key = string; [keycode to activate the shortcut with] pkg = package; [either this or exe; specifies which command to run] exe = string; [either this or pkg; specifies which command to run] } ``` Currently there is no good documenation about valid keys and the schema behind them. This should be imrpoved further later on, but i could not find any good original xfce4 documentation for it (as it mainly says to use the GUI)
Sign in to join this conversation.
No description provided.