From 6f33358f4a8d894c80932f5ba6875994835c5904 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 5 Jun 2025 15:37:44 +0200 Subject: [PATCH] [Hyprland] Add cliphist --- config/hypr/hyprland/binds.conf | 1 + config/hypr/hyprland/general.conf | 3 +++ 2 files changed, 4 insertions(+) diff --git a/config/hypr/hyprland/binds.conf b/config/hypr/hyprland/binds.conf index 0c71e1f..fa08782 100644 --- a/config/hypr/hyprland/binds.conf +++ b/config/hypr/hyprland/binds.conf @@ -66,6 +66,7 @@ bind = SHIFT, PRINT, exec, grimblast --notify save screen # │ Rofi commands │ # └ ┘ bind = $mainMod, Space, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run" +bind = $mainMod SHIFT, H, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy # ┌ ┐ # │ Logout commands │ diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index b9782c6..08dbb6f 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -18,6 +18,9 @@ exec-once = sleep 2 && bash -c "ags run -d ~/projects/active/dotfiles/config/ast exec-once = bash -c "ags run -d ~/projects/active/dotfiles/config/ags/notifications/ >> /tmp/notifier-log 2>&1" # exec-once = bash -c "ags run -d ~/projects/active/dotfiles/config/ags/notifications/" +# ── wlhist ────────────────────────────────────────────────────────── +exec-once = wl-paste --type text --watch cliphist store # Stores only text data +exec-once = wl-paste --type image --watch cliphist store # Stores only image data exec = hyprctl setcursor oreo_spark_blue_cursors 24