MyNixOS website logo
option

programs.wlr-which-key.settings

Main wlr-which-key configuration written to $XDG_CONFIG_HOME/wlr-which-key/config.yaml.

See https://github.com/MaxVerevkin/wlr-which-key#configuration for the full list of options.

Declarations
Type
YAML 1.1 value
Default
{ }
Example
{
  font = "JetBrainsMono Nerd Font 12";
  background = "#282828d0";
  color = "#fbf1c7";
  border = "#8ec07c";
  separator = " ➜ ";
  border_width = 2;
  corner_r = 10;
  padding = 15;
  rows_per_column = 5;
  column_padding = 25;
  anchor = "center";
  margin_right = 0;
  margin_bottom = 0;
  margin_left = 0;
  margin_top = 0;
  menu = [
    {
      key = "p";
      desc = "Power";
      submenu = [
        { key = "s"; desc = "Sleep"; cmd = "systemctl suspend"; }
        { key = "r"; desc = "Reboot"; cmd = "reboot"; }
        { key = "o"; desc = "Off"; cmd = "poweroff"; }
      ];
    }
  ];
}