From edf3073b2ddc7c349476a2b9382070cace5d2260 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 7 May 2023 13:42:40 +0200 Subject: [PATCH 1/2] miriway: unstable-2023-03-17 -> unstable-2023-04-25 --- pkgs/applications/window-managers/miriway/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/miriway/default.nix b/pkgs/applications/window-managers/miriway/default.nix index 3b9f483bb917..cb8d5a3941ce 100644 --- a/pkgs/applications/window-managers/miriway/default.nix +++ b/pkgs/applications/window-managers/miriway/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "miriway"; - version = "unstable-2023-03-17"; + version = "unstable-2023-04-25"; src = fetchFromGitHub { owner = "Miriway"; repo = "Miriway"; - rev = "f4c52fee6c1aeba40fc3e8cb1d6ec7354da0765b"; - hash = "sha256-/Av/gRTK3y0TlW3BqS+LPj8nS/4SXQpavYDpdvHwPqI="; + rev = "55ef5bd188e2b86dfbd1b9b360d832d4cd454eb7"; + hash = "sha256-kooyL5up+SBHmnv/eEnsg0ujJlHBqbE+n/YHqmpXscI="; }; strictDeps = true; From fc3c5947a92ea531a6cc07de3e2c18c9d984bb6f Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 7 May 2023 16:35:18 +0200 Subject: [PATCH 2/2] 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.