summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-14 00:45:04 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-14 00:45:04 +0200
commit728e65ca55b4d952bb7b6ea503b210d87f18bb97 (patch)
tree642a892518ac8bb7b38f19724ab525b773d466b0 /accounts/gkleen@sif/hyprland.nix
parentcf5bc09e33d811dbd8b8798b4311054aaa5fa3d4 (diff)
downloadnixos-728e65ca55b4d952bb7b6ea503b210d87f18bb97.tar
nixos-728e65ca55b4d952bb7b6ea503b210d87f18bb97.tar.gz
nixos-728e65ca55b4d952bb7b6ea503b210d87f18bb97.tar.bz2
nixos-728e65ca55b4d952bb7b6ea503b210d87f18bb97.tar.xz
nixos-728e65ca55b4d952bb7b6ea503b210d87f18bb97.zip
...
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"