diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-28 06:18:25 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-28 06:18:25 -0600 |
| commit | afb3ff822af7971653786e260f0855c4a354735e (patch) | |
| tree | 5fefcc2c9b098c450f0fddef87d448206f1f2bc1 /dotfiles/hyprland/.local/bin/start-hyprland | |
| parent | fceae96d8c7fb1a588f4bd2eff5b9da3fd53b9da (diff) | |
| download | archsetup-afb3ff822af7971653786e260f0855c4a354735e.tar.gz archsetup-afb3ff822af7971653786e260f0855c4a354735e.zip | |
fix(hyprland): add persistent logging and fix waybar/script issues
- Add persistent logging for waybar, dunst, hypridle, gammastep to ~/.local/var/log/
- Create start-hyprland wrapper script for Hyprland logging
- Fix waybar-layout and toggle-scratchpad to auto-detect Hyprland socket
- Add swap-icon-label: false to waybar group, remove height setting
- Fix GTK CSS margin units (1 → 1px) to silence deprecation warning
- Add battery detection in archsetup to exclude module on desktops
- Update cursor theme to Bibata-Modern-Ice size 24
Diffstat (limited to 'dotfiles/hyprland/.local/bin/start-hyprland')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/start-hyprland | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.local/bin/start-hyprland b/dotfiles/hyprland/.local/bin/start-hyprland new file mode 100755 index 0000000..a5d191d --- /dev/null +++ b/dotfiles/hyprland/.local/bin/start-hyprland @@ -0,0 +1,11 @@ +#!/bin/sh +# Wrapper to launch Hyprland with persistent logging +# Shadows /usr/bin/start-hyprland when ~/.local/bin is in PATH + +LOG_DIR="$HOME/.local/var/log" +TIMESTAMP=$(date +%Y-%m-%d-%H%M%S) +LOG_FILE="$LOG_DIR/hyprland-$TIMESTAMP.log" + +mkdir -p "$LOG_DIR" + +exec /usr/bin/start-hyprland "$@" > "$LOG_FILE" 2>&1 |
