From 5a95ba052450dff055466cfeca7edc39c979c601 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 24 Sep 2024 18:21:27 -0500 Subject: [PATCH] clipboard: revert back to clipse Signed-off-by: Myned --- options/custom/desktops/hyprland/binds.nix | 4 ++-- options/custom/desktops/hyprland/settings.nix | 3 ++- options/custom/programs/walker/default.nix | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/options/custom/desktops/hyprland/binds.nix b/options/custom/desktops/hyprland/binds.nix index 180d735..8eabbc9 100644 --- a/options/custom/desktops/hyprland/binds.nix +++ b/options/custom/desktops/hyprland/binds.nix @@ -236,8 +236,8 @@ in { (key "T" "Super" "togglespecialworkspace" "terminal") (key "T" "Super+Shift" "movetoworkspacesilent" "special:terminal") (key "T" "Super+Shift" "exec" kitty) - (key "V" "Super" "exec" "${menu} --clipboard") - (key "V" "Super+Shift" "exec" "${rm} ~/.cache/walker/clipboard.gob; ${notify-send} walker 'Clipboard cleared' --urgency low") + (key "V" "Super" "exec" "${kitty} --app-id clipboard --override font_size=12 ${clipse}") + (key "V" "Super+Shift" "exec" "${clipse} --clear && ${notify-send} clipse 'Clipboard cleared' --urgency low") (key "W" "Super" "togglespecialworkspace" "vm") (key "W" "Super+Ctrl" "exec" "${vm} -x ${ if config.custom.hidpi diff --git a/options/custom/desktops/hyprland/settings.nix b/options/custom/desktops/hyprland/settings.nix index 5f84fc4..1ca8578 100644 --- a/options/custom/desktops/hyprland/settings.nix +++ b/options/custom/desktops/hyprland/settings.nix @@ -70,7 +70,8 @@ in { exec-once = [ sway-audio-idle-inhibit # Inhibit idle while audio is playing - "${rm} ~/.cache/walker/clipboard.gob" # Clear clipboard + "${clipse} --clear" # Clear clipboard history + "${clipse} --listen" # Monitor clipboard "[group new lock; tile] ${firefox-esr}" ] ++ optionals config.custom.wallpaper ["wallpaper"]; diff --git a/options/custom/programs/walker/default.nix b/options/custom/programs/walker/default.nix index 708a154..91b27b2 100644 --- a/options/custom/programs/walker/default.nix +++ b/options/custom/programs/walker/default.nix @@ -31,6 +31,11 @@ in { ignore_mouse = true; # Hover interrupts keyboard selections search.placeholder = ""; + disabled = [ + # BUG: Applications such as GNOME Files require multiple copy operations to register + "clipboard" + ]; + # https://github.com/abenz1267/walker/wiki/Modules # https://www.nerdfonts.com/cheat-sheet builtins = {