diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-16 13:06:57 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-16 13:06:57 -0600 |
| commit | bf240c3eca5af580538ce889de372cced844d1f1 (patch) | |
| tree | 49e1f0a0879c830b7994c625c1ec3b35a59e0429 /dotfiles | |
| parent | 49d3c58896d4c780cdd6f0d9f5182ca3224b3bb1 (diff) | |
| download | archsetup-bf240c3eca5af580538ce889de372cced844d1f1.tar.gz archsetup-bf240c3eca5af580538ce889de372cced844d1f1.zip | |
fix(hyprland): load plugins on every session start
hyprland-plugins-setup was skipping hyprpm reload when plugins were
already enabled, so they were never loaded into the running session.
Diffstat (limited to 'dotfiles')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/hyprland-plugins-setup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/hyprland/.local/bin/hyprland-plugins-setup b/dotfiles/hyprland/.local/bin/hyprland-plugins-setup index e780cb7..77a01d1 100755 --- a/dotfiles/hyprland/.local/bin/hyprland-plugins-setup +++ b/dotfiles/hyprland/.local/bin/hyprland-plugins-setup @@ -12,7 +12,8 @@ log() { # Check if plugins already installed and enabled if hyprpm list 2>/dev/null | grep -q "hyprscrolling"; then if hyprpm list | grep -q "enabled: .*true"; then - log "Plugins already installed and enabled, skipping" + log "Plugins already installed, loading into session" + hyprpm reload 2>&1 | tee -a "$LOGFILE" exit 0 fi fi |
