diff options
Diffstat (limited to 'dotfiles')
| -rw-r--r-- | dotfiles/common/.profile | 2 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/foot/foot.ini | 2 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 3 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/themes/dupre/foot.ini | 2 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/themes/dupre/waybar.css | 12 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/themes/hudson/foot.ini | 2 | ||||
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/hyprland-plugins-setup | 61 |
7 files changed, 69 insertions, 15 deletions
diff --git a/dotfiles/common/.profile b/dotfiles/common/.profile index b4da79d..11a9592 100644 --- a/dotfiles/common/.profile +++ b/dotfiles/common/.profile @@ -24,7 +24,7 @@ export LC_ALL=en_US.UTF-8 [ -d "$HOME/.local/share/gem/ruby/3.4.0/bin" ] && PATH="$PATH:$HOME/.local/share/gem/ruby/3.4.0/bin" [ -d "$HOME/.cargo/bin" ] && PATH="$PATH:$HOME/.cargo/bin" [ -d "$HOME/.deno/bin" ] && PATH="$PATH:$HOME/.deno/bin" -export PATH="$PATH:$HOME/.local/bin:/usr/sbin" +export PATH="$HOME/.local/bin:$PATH:/usr/sbin" # ============================================================================= # Default Applications diff --git a/dotfiles/hyprland/.config/foot/foot.ini b/dotfiles/hyprland/.config/foot/foot.ini index 8fe19b3..48c26a6 100644 --- a/dotfiles/hyprland/.config/foot/foot.ini +++ b/dotfiles/hyprland/.config/foot/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=BerkeleyMono Nerd Font:size=13 +font=BerkeleyMono Nerd Font:size=14 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 78c5bdf..a8b3154 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -17,12 +17,11 @@ exec-once = systemctl --user start xdg-desktop-portal-hyprland xdg-desktop-porta # Core services exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh exec-once = dunst > ~/.local/var/log/dunst-$(date +%Y-%m-%d-%H%M%S).log 2>&1 -exec-once = hyprpm update -n && sleep 2 && hyprctl dismissnotify -1 +exec-once = hyprland-plugins-setup && sleep 1 && hyprctl dismissnotify -1 # Desktop appearance (after portal is ready) exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg exec-once = waybar > ~/.local/var/log/waybar-$(date +%Y-%m-%d-%H%M%S).log 2>&1 -exec-once = set-theme "$(cat ~/.config/current-theme 2>/dev/null || echo hudson)" # Background services exec-once = hypridle > ~/.local/var/log/hypridle-$(date +%Y-%m-%d-%H%M%S).log 2>&1 diff --git a/dotfiles/hyprland/.config/themes/dupre/foot.ini b/dotfiles/hyprland/.config/themes/dupre/foot.ini index 8fe19b3..48c26a6 100644 --- a/dotfiles/hyprland/.config/themes/dupre/foot.ini +++ b/dotfiles/hyprland/.config/themes/dupre/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=BerkeleyMono Nerd Font:size=13 +font=BerkeleyMono Nerd Font:size=14 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.config/themes/dupre/waybar.css b/dotfiles/hyprland/.config/themes/dupre/waybar.css index 18ba0f1..20d6a99 100644 --- a/dotfiles/hyprland/.config/themes/dupre/waybar.css +++ b/dotfiles/hyprland/.config/themes/dupre/waybar.css @@ -52,7 +52,8 @@ window#waybar { #custom-disk, #custom-netspeed, #battery, -#wireplumber, +#pulseaudio, +#idle_inhibitor, #tray, #clock, #custom-layout, @@ -75,20 +76,13 @@ window#waybar { #memory:hover, #custom-disk:hover, #custom-netspeed:hover, -#wireplumber:hover, +#pulseaudio:hover, #sysmonitor:hover, #custom-layout:hover { background-color: #474544; border-radius: 1rem; } -#clock { - color: #f0fef0; -} - -#wireplumber { - color: #969385; -} #custom-netspeed.disconnected { color: #d47c59; diff --git a/dotfiles/hyprland/.config/themes/hudson/foot.ini b/dotfiles/hyprland/.config/themes/hudson/foot.ini index 4e9681c..2ef78d4 100644 --- a/dotfiles/hyprland/.config/themes/hudson/foot.ini +++ b/dotfiles/hyprland/.config/themes/hudson/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=BerkeleyMono Nerd Font:size=13 +font=BerkeleyMono Nerd Font:size=14 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.local/bin/hyprland-plugins-setup b/dotfiles/hyprland/.local/bin/hyprland-plugins-setup new file mode 100755 index 0000000..f0181c8 --- /dev/null +++ b/dotfiles/hyprland/.local/bin/hyprland-plugins-setup @@ -0,0 +1,61 @@ +#!/bin/bash +# hyprland-plugins-setup - Install Hyprland plugins on first login +# Called from hyprland.conf exec-once + +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 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" + 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 plugins from hyprland-plugins +for plugin in hyprscrolling xtra-dispatchers; do + log "Enabling $plugin..." + if hyprpm enable "$plugin" 2>&1 | tee -a "$LOGFILE"; then + log "$plugin enabled" + else + log "Failed to enable $plugin" + fi +done + +# Add hy3 repository +log "Adding hy3 repository..." +if hyprpm add https://github.com/outfoxxed/hy3 2>&1 | tee -a "$LOGFILE"; then + log "hy3 repository added" +else + log "Failed to add hy3 repository" +fi + +# Enable hy3 +log "Enabling hy3..." +if hyprpm enable hy3 2>&1 | tee -a "$LOGFILE"; then + log "hy3 enabled" +else + log "Failed to enable hy3" +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 |
