diff --git a/eww/apply-color b/eww/apply-color index 66b15ee..60fe91d 100755 --- a/eww/apply-color +++ b/eww/apply-color @@ -10,9 +10,11 @@ sed -i "s|^\$border: #[0-9a-fA-F]\{6\};\$|\$border: #${colorHex};|" "$file" || { exit 1 } -pgrep -x eww >/dev/null -u "$USER" && eww reload || { - log_error "Failed to reload eww, is it running?" - exit 1 -} +if pgrep -x eww >/dev/null -u "$USER"; then + eww reload || { + log_error "Failed to reload eww, is it running?" + exit 1 + } +fi log_success "eww" \ No newline at end of file diff --git a/fish/apply-color b/fish/apply-color index 5e1f50c..1d84052 100755 --- a/fish/apply-color +++ b/fish/apply-color @@ -12,7 +12,7 @@ sed -i 's/^\( set -g fetch_color "\)#\([0-9a-fA-F]\{6\}\)"/\1#'"${colorHex}"' log_success "fastfetch" -# Also apply to omp in here +# Also apply to omp here file="$path"/../posh_theme.omp.json diff --git a/hypr/hyprland/execs.conf b/hypr/hyprland/execs.conf index 07d0bec..fa7896a 100755 --- a/hypr/hyprland/execs.conf +++ b/hypr/hyprland/execs.conf @@ -19,6 +19,7 @@ exec-once = hyprpm reload exec-once = mako exec-once = nm-applet exec-once = blueman-applet +exec-once = eww daemon # Audio # exec-once = easyeffects --gapplication-service