From d7387047e09d9ec66f2766a990a744990b0d3b32 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 19 Oct 2025 20:54:36 +0200 Subject: [PATCH] Remove cliphist in favor of elephant-clipboard --- home/.config/systemd/user/cliphist.service | 34 ---------------------- install_gui.sh | 4 +-- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 home/.config/systemd/user/cliphist.service diff --git a/home/.config/systemd/user/cliphist.service b/home/.config/systemd/user/cliphist.service deleted file mode 100644 index dc34bbb..0000000 --- a/home/.config/systemd/user/cliphist.service +++ /dev/null @@ -1,34 +0,0 @@ -[Unit] -Description=Clipboard history "manager" for Wayland -After=graphical-session.target -PartOf=graphical-session.target - -[Service] -Type=simple -ExecStart=/usr/bin/wl-paste --watch /usr/bin/cliphist -max-items 10 store -Restart=on-failure - -# Use the background slice rather than the session slice. Cliphist isn't -# a fundamental part of the graphical session experience. -Slice=background-graphical.slice - -CPUQuota=2% - -# Cliphist allows storng up to 5 MB per item entries, with 10 entries -# limit, this means 50 MB. Annoyingly, it seems to load all entries -# even when it's just writing a single new one (during `cliphist store`), -# so we need to account for this. See: -# https://github.com/sentriz/cliphist/issues/155 to understand -# -# If the above issue gets addressed, these limits can likely be lowered. -MemoryHigh=60M -MemoryMax=120M - -# Because of the issue above, significantly increase the likelihood of -# this process getting terminated during OOM I don't really care that -# much about a clipboard manager staying up anyways. -OOMScoreAdjust=300 - - -[Install] -WantedBy=graphical-session.target diff --git a/install_gui.sh b/install_gui.sh index f2d8fb4..e857e32 100755 --- a/install_gui.sh +++ b/install_gui.sh @@ -83,7 +83,7 @@ paru -S --noconfirm --needed \ # Wayland Utilities paru -S --noconfirm --needed \ - wev wdisplays grim slurp swappy wf-recorder wlogout cliphist \ + wev wdisplays grim slurp swappy wf-recorder wlogout \ hyprpicker hyprpaper hyprsunset # Application launcher @@ -152,7 +152,7 @@ gsettings set org.gnome.desktop.interface cursor-size 24 # Services sudo systemctl enable --now seatd.service -systemctl --user enable polkit-gnome-agent.service fumon.service hyprpaper.service hypridle.service hyprsunset.service elephant.service walker.service swaync.service systemd-lock-handler.service hyprlock.service swaync-inhibit-lock.service swaync-inhibit-unlock.service pcmanfm-qt.service nm-applet.service blueman-applet.service cliphist.service +systemctl --user enable polkit-gnome-agent.service fumon.service hyprpaper.service hypridle.service hyprsunset.service elephant.service walker.service swaync.service systemd-lock-handler.service hyprlock.service swaync-inhibit-lock.service swaync-inhibit-unlock.service pcmanfm-qt.service nm-applet.service blueman-applet.service echo "GUI Installation finished, you should now reboot and run uwsm start hyprland.desktop" echo ""