From 972f13579b77735f0533e2ac3c762810010fff52 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 1 May 2025 15:58:47 +0200 Subject: [PATCH] Remove dash workaround --- modules/nixos/graphical/compositor/launcher.nix | 2 +- modules/nixos/graphical/compositor/launcher.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/graphical/compositor/launcher.nix b/modules/nixos/graphical/compositor/launcher.nix index 67ce9740..57506242 100644 --- a/modules/nixos/graphical/compositor/launcher.nix +++ b/modules/nixos/graphical/compositor/launcher.nix @@ -6,9 +6,9 @@ let libqalculate nix uni + wl-clipboard zsh ; - wlClipboard = pkgs.wl-clipboard; }; in pkgs.runCommand "launcher" { } '' diff --git a/modules/nixos/graphical/compositor/launcher.zsh b/modules/nixos/graphical/compositor/launcher.zsh index 378bf625..534687a9 100644 --- a/modules/nixos/graphical/compositor/launcher.zsh +++ b/modules/nixos/graphical/compositor/launcher.zsh @@ -24,7 +24,7 @@ emoji_options() { emoji() { char=$(echo -n "$1" | sed "s/^\([^ ]*\) .*/\1/") - riverctl spawn "echo -n $char | @wlClipboard@/bin/wl-copy --foreground" + riverctl spawn "echo -n $char | @wl-clipboard@/bin/wl-copy --foreground" } nrun_options() {