mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-10-29 07:26:35 +00:00
Compare commits
2 commits
e31b3351cf
...
d7387047e0
| Author | SHA1 | Date | |
|---|---|---|---|
| d7387047e0 | |||
| 5a76947c3b |
3 changed files with 8 additions and 37 deletions
|
|
@ -0,0 +1,5 @@
|
|||
[Service]
|
||||
Slice=session-graphical.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -127,7 +127,7 @@ paru -S --noconfirm --needed \
|
|||
qalculate-gtk spotify qimgv nomacs stremio seahorse
|
||||
|
||||
# Bluetooth
|
||||
paru -S --noconfirm --needed bluez bluez-utils blueberry
|
||||
paru -S --noconfirm --needed bluez bluez-utils blueberry blueman
|
||||
|
||||
# Lockscreen
|
||||
# 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
|
||||
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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue