Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

services.sxhkd.enable

Whether to enable simple X hotkey daemon.

Type: boolean

Default:

false

Example:

true

Declared by:

services.sxhkd.package

The sxhkd package to use. containing the sxhkd executable

Type: package

Default:

pkgs.sxhkd

Declared by:

services.sxhkd.extraConfig

Additional configuration to add.

Type: strings concatenated with ā€œ\nā€

Default:

""

Example:

super + {_,shift +} {1-9,0}
  i3-msg {workspace,move container to workspace} {1-10}

Declared by:

services.sxhkd.extraOptions

Command line arguments to invoke sxhkd with.

Type: list of string

Default:

[ ]

Example:

[
  "-m 1"
]

Declared by:

services.sxhkd.keybindings

An attribute set that assigns hotkeys to commands.

Type: attribute set of (null or string or absolute path)

Default:

{ }

Example:

{
  "super + shift + {r,c}" = "i3-msg {restart,reload}";
  "super + {s,w}"         = "i3-msg {stacking,tabbed}";
  "super + F1"            = pkgs.writeShellScript "script" "echo $USER";
}

Declared by: