From fc3c5947a92ea531a6cc07de3e2c18c9d984bb6f Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 7 May 2023 16:35:18 +0200 Subject: [PATCH] nixos/miriway: Adjust default and example config The keybinds for the WM's internal commands have been made configurable. --- nixos/modules/programs/miriway.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/nixos/modules/programs/miriway.nix b/nixos/modules/programs/miriway.nix index 52b5f8476222..a67e1a17a7e6 100644 --- a/nixos/modules/programs/miriway.nix +++ b/nixos/modules/programs/miriway.nix @@ -8,7 +8,7 @@ in { Miriway, a Mir based Wayland compositor. You can manually launch Miriway by executing "exec miriway" on a TTY, or launch it from a display manager. Copy /etc/xdg/xdg-miriway/miriway-shell.config to ~/.config/miriway-shell.config - to modify the default configuration. See , + to modify the system-wide configuration on a per-user basis. See , and "miriway --help" for more information''); config = lib.mkOption { @@ -19,6 +19,15 @@ in { ctrl-alt=t:miriway-terminal # Default "terminal emulator finder" shell-component=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY + + meta=Left:@dock-left + meta=Right:@dock-right + meta=Space:@toggle-maximized + meta=Home:@workspace-begin + meta=End:@workspace-end + meta=Page_Up:@workspace-up + meta=Page_Down:@workspace-down + ctrl-alt=BackSpace:@exit ''; example = '' idle-timeout=300 @@ -31,6 +40,15 @@ in { shell-component=wbg Pictures/wallpaper shell-meta=a:synapse + + meta=Left:@dock-left + meta=Right:@dock-right + meta=Space:@toggle-maximized + meta=Home:@workspace-begin + meta=End:@workspace-end + meta=Page_Up:@workspace-up + meta=Page_Down:@workspace-down + ctrl-alt=BackSpace:@exit ''; description = lib.mdDoc '' Miriway's config. This will be installed system-wide.