summaryrefslogtreecommitdiff
path: root/hypr/.config
diff options
context:
space:
mode:
authorbh <qn+git@epicurus.dev>2026-03-31 18:55:17 +0800
committerbh <qn+git@epicurus.dev>2026-03-31 18:55:17 +0800
commit60f7a3fabeae7d9e73566da4179bc8d2c0337be3 (patch)
tree9f3ac92cf783fe221895a36a99a1eedcae01e77c /hypr/.config
parentc33b2f0210e1c65f3aa238d51424e57f7df9905a (diff)
rofi: add primary selection clipboard
Diffstat (limited to 'hypr/.config')
-rw-r--r--hypr/.config/hypr/hyprland.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf
index c66be30..400404c 100644
--- a/hypr/.config/hypr/hyprland.conf
+++ b/hypr/.config/hypr/hyprland.conf
@@ -37,6 +37,8 @@ exec-once = hyprpaper
exec-once = dunst
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
+exec-once = wl-paste --primary --type text --watch cliphist -db-path ~/.cache/cliphist/primary.db store
+exec-once = wl-paste --primary --type image --watch cliphist -db-path ~/.cache/cliphist/primary.db store
# ╔════════════════════════════════════════╗
# ║ 🌿 ENVIRONMENT VARIABLES ║
@@ -190,6 +192,7 @@ bind = SUPER, E, exec, emacs
# 📜 Scripts
bind = SUPER, V, exec, ~/Scripts/clipboard
+bind = SUPER SHIFT, V, exec, ~/Scripts/clipboard-primary
bind = SUPER, R, exec, ~/Scripts/run
bind = SUPER, S, exec, ~/Scripts/screenshot
bind = SUPER SHIFT, S, exec, ~/Scripts/screenshot snip