Compare commits

...

2 commits

3 changed files with 8 additions and 37 deletions

View file

@ -0,0 +1,5 @@
[Service]
Slice=session-graphical.slice
[Install]
WantedBy=graphical-session.target

View file

@ -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

View file

@ -83,7 +83,7 @@ paru -S --noconfirm --needed \
# Wayland Utilities # Wayland Utilities
paru -S --noconfirm --needed \ paru -S --noconfirm --needed \
wev wdisplays grim slurp swappy wf-recorder wlogout cliphist \ wev wdisplays grim slurp swappy wf-recorder wlogout \
hyprpicker hyprpaper hyprsunset hyprpicker hyprpaper hyprsunset
# Application launcher # Application launcher
@ -127,7 +127,7 @@ paru -S --noconfirm --needed \
qalculate-gtk spotify qimgv nomacs stremio seahorse qalculate-gtk spotify qimgv nomacs stremio seahorse
# Bluetooth # Bluetooth
paru -S --noconfirm --needed bluez bluez-utils blueberry paru -S --noconfirm --needed bluez bluez-utils blueberry blueman
# Lockscreen # Lockscreen
# To test the lockscreen, you can run loginctl lock-session, while in a graphical session # To test the lockscreen, you can run loginctl lock-session, while in a graphical session
@ -152,7 +152,7 @@ gsettings set org.gnome.desktop.interface cursor-size 24
# Services # Services
sudo systemctl enable --now seatd.service 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 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 "GUI Installation finished, you should now reboot and run uwsm start hyprland.desktop"
echo "" echo ""