summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-03-07 14:03:02 -0600
committerCraig Jennings <c@cjennings.net>2026-03-07 14:03:02 -0600
commitdd543e3b2c42dc4706ee016bb4ae376d9e981272 (patch)
tree3062599122147bd588f37cf32c18aeb15ef0dd84 /archsetup
parentde287500b569858d774816932fdb9a9f679c1669 (diff)
feat(hyprland): remove plugins, add layout cycling
Hyprland 0.54 brings scrolling and monocle layouts into core, making hyprpm plugins unnecessary. Remove hyprland-plugins-setup, focus-restore, hyprpm pacman hook, and allfloat keybinding. Add layout-cycle script and $mod+Shift+Arrow keybindings to cycle master/scrolling/monocle. Move cpio to System Utilities section.
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup26
1 files changed, 1 insertions, 25 deletions
diff --git a/archsetup b/archsetup
index 260afdb..34af181 100755
--- a/archsetup
+++ b/archsetup
@@ -1425,7 +1425,6 @@ hyprland() {
pacman_install hyprlock
action="Hyprland Utilities" && display "subtitle" "$action"
- pacman_install cpio # hyprpm (plugin manager) dependency
aur_install pyprland # scratchpads, magnify, expose (fixes special workspace issues)
pacman_install gtk4-layer-shell # GTK4 layer shell protocol (pocketbook dependency)
pip_install git+https://github.com/cjennings/pocketbook.git # notes panel (layer-shell, toggled via waybar)
@@ -1454,30 +1453,6 @@ hyprland() {
pacman_install hyprpaper # wallpaper utility with IPC controls
pacman_install wev # wayland event debugger (xev equivalent)
- # Hyprland Plugins (via hyprpm)
- # Plugins are installed on first login via hyprland-plugins-setup script
- # (hyprpm requires running Hyprland to determine version for compilation)
- action="Hyprland Plugins" && display "subtitle" "$action"
- pacman_install cmake # required for plugin compilation
-
- # Pacman hook to rebuild plugins after Hyprland updates
- # Prevents plugin version mismatch that causes plugins to fail loading
- action="creating hyprpm pacman hook" && display "task" "$action"
- mkdir -p /etc/pacman.d/hooks
- cat > /etc/pacman.d/hooks/hyprpm.hook << 'HOOKEOF'
-[Trigger]
-Operation = Upgrade
-Type = Package
-Target = hyprland
-
-[Action]
-Description = Rebuilding Hyprland plugins after update...
-When = PostTransaction
-Exec = /usr/bin/runuser -u ARCHSETUP_USERNAME -- /usr/bin/hyprpm update --no-shallow
-HOOKEOF
- # Replace placeholder with actual username
- sed -i "s/ARCHSETUP_USERNAME/${username}/" /etc/pacman.d/hooks/hyprpm.hook
- chmod 644 /etc/pacman.d/hooks/hyprpm.hook
# Logitech BRIO webcam auto-configuration
action="creating Logitech BRIO udev rule" && display "task" "$action"
@@ -1565,6 +1540,7 @@ desktop_environment() {
pacman_install testdisk
pacman_install tickrs
pacman_install udisks2
+ pacman_install cpio # supermin/virt-install dependency
aur_install touchpad-indicator-git
aur_install dotpac