summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2025-08-30 00:05:47 +0300
committerKyren223 <contact@kyren.codes>2025-08-30 00:05:47 +0300
commitd1ef9c53317a7300ab5e48343bcc0e9b11f61166 (patch)
treeaf31e2b3d5db840280378a8509cf37a7dba4b7ef
parent73f1f5a7c915d0e13ac36674167c69da92c5998e (diff)
Added clipboard history
-rw-r--r--.config/hypr/hyprland.conf5
-rw-r--r--modules/apps.nix14
2 files changed, 9 insertions, 10 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 3e856a2..4482f0e 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -41,6 +41,9 @@ exec-once = hyprctl plugin load "$HYPR_PLUGIN_DIR/lib/libhyprbars.so"
# exec-once = waybar & hyprpaper
exec-once = swaync
+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
+
#############################
### ENVIRONMENT VARIABLES ###
@@ -258,6 +261,8 @@ bind = $mainMod, space, exec, $menu
bind = SUPER, SUPER_L, exec, $menu
bind = $mainMod, N, exec, $notifications
bind = SUPER, N, exec, $notifications
+bind = $mainMod, H, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
+bind = SUPER, H, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
# Terminal
bind = $mainMod, 1, workspace, 1
diff --git a/modules/apps.nix b/modules/apps.nix
index 081943f..75d3b69 100644
--- a/modules/apps.nix
+++ b/modules/apps.nix
@@ -1,11 +1,4 @@
-{
- pkgs,
- lib,
- config,
- inputs,
- ...
-}:
-{
+{ pkgs, lib, config, inputs, ... }: {
options.apps.enable = lib.mkOption {
type = lib.types.bool;
@@ -27,6 +20,9 @@
libnotify
wl-clipboard
jdk
+ waybar
+ swaynotificationcenter # For notifications
+ cliphist # Clipboard history
nerd-fonts.jetbrains-mono
@@ -71,8 +67,6 @@
kdePackages.qt5compat
kdePackages.qt6ct
kdePackages.breeze-icons
- waybar
- swaynotificationcenter # For notifications
# Communication
wasistlos # Whatsapp