diff options
| author | Craig Jennings <c@cjennings.net> | 2026-03-07 14:03:02 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-03-07 14:03:02 -0600 |
| commit | dd543e3b2c42dc4706ee016bb4ae376d9e981272 (patch) | |
| tree | 3062599122147bd588f37cf32c18aeb15ef0dd84 /dotfiles/hyprland/.local/bin/hyprland-plugins-setup | |
| parent | de287500b569858d774816932fdb9a9f679c1669 (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 'dotfiles/hyprland/.local/bin/hyprland-plugins-setup')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/hyprland-plugins-setup | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/dotfiles/hyprland/.local/bin/hyprland-plugins-setup b/dotfiles/hyprland/.local/bin/hyprland-plugins-setup deleted file mode 100755 index 29619c7..0000000 --- a/dotfiles/hyprland/.local/bin/hyprland-plugins-setup +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# hyprland-plugins-setup - Install Hyprland plugins on first login -# Called from hyprland.conf exec-once -# -# As of Hyprland 0.54, hyprscrolling is in core. Only xtra-dispatchers -# needs to be installed via hyprpm. - -LOGFILE="$HOME/.local/var/log/hyprland-plugins-setup.log" -mkdir -p "$(dirname "$LOGFILE")" - -log() { - echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" >> "$LOGFILE" -} - -# Check if xtra-dispatchers already installed and enabled -if hyprpm list 2>/dev/null | grep -q "xtra-dispatchers"; then - if hyprpm list | grep -q "enabled: .*true"; then - log "Plugins already installed, loading into session" - hyprpm reload 2>&1 | tee -a "$LOGFILE" - exit 0 - fi -fi - -log "Starting Hyprland plugin setup" - -# Add hyprland-plugins repository -log "Adding hyprland-plugins repository..." -if hyprpm add https://github.com/hyprwm/hyprland-plugins 2>&1 | tee -a "$LOGFILE"; then - log "hyprland-plugins repository added" -else - log "Failed to add hyprland-plugins repository" -fi - -# Enable xtra-dispatchers (provides plugin:xtd:bringallfrom used by focus-restore) -log "Enabling xtra-dispatchers..." -if hyprpm enable xtra-dispatchers 2>&1 | tee -a "$LOGFILE"; then - log "xtra-dispatchers enabled" -else - log "Failed to enable xtra-dispatchers" -fi - -# Reload plugins into Hyprland -log "Reloading plugins..." -hyprpm reload 2>&1 | tee -a "$LOGFILE" - -log "Plugin setup complete" -notify-send "Hyprland Plugins" "Plugin setup complete" -t 3000 |
