summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/hyprland.nix')
-rw-r--r--accounts/gkleen@sif/hyprland.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index d26b72a7..e2106369 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -219,7 +219,7 @@ in {
219 makeWrapper ${lib.getExe pkgs.hyprpicker} $out \ 219 makeWrapper ${lib.getExe pkgs.hyprpicker} $out \
220 --prefix PATH : ${lib.makeBinPath [pkgs.wl-clipboard-rs]} 220 --prefix PATH : ${lib.makeBinPath [pkgs.wl-clipboard-rs]}
221 ''} -a" 221 ''} -a"
222 "$mainMod, E, exec, ${pkgs.writeShellScript "qalc-fuzzel" '' 222 "$mainMod, T, exec, ${pkgs.writeShellScript "qalc-fuzzel" ''
223 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs libqalculate cfg.programs.fuzzel.package coreutils findutils libnotify gnugrep ])}:$PATH" 223 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs libqalculate cfg.programs.fuzzel.package coreutils findutils libnotify gnugrep ])}:$PATH"
224 224
225 RESULTS_DIR="$HOME/.cache/qalc-fuzzel" 225 RESULTS_DIR="$HOME/.cache/qalc-fuzzel"
@@ -252,6 +252,13 @@ in {
252 [[ $QALC_RET -eq 0 ]] && wl-copy "$QALC_RES" 252 [[ $QALC_RET -eq 0 ]] && wl-copy "$QALC_RES"
253 notify-send "$QALC_RES" 253 notify-send "$QALC_RES"
254 ''}" 254 ''}"
255 "$mainMod, E, exec, ${pkgs.writeShellScript "emoji-fuzzel" ''
256 export PATH="${lib.makeBinPath (with pkgs; [ cfg.programs.fuzzel.package wtype wl-clipboard-rs ])}:$PATH"
257
258 FUZZEL_RES=$(fuzzel --dmenu --prompt "emoji> " <$HOME/.local/share/emoji-data/list.txt) || exit $?
259 [[ -n "$FUZZEL_RES" ]] || exit 1
260 wl-copy "$(cut -d ':' -f 1 <<<"$FUZZEL_RES" | tr -d '\n')" && wtype -k XF86Paste
261 ''}"
255 262
256 "$mainMod CTRL, return, togglespecialworkspace, term" 263 "$mainMod CTRL, return, togglespecialworkspace, term"
257 "$mainMod CTRL, e, togglespecialworkspace, edit" 264 "$mainMod CTRL, e, togglespecialworkspace, edit"