mirror of
https://github.com/duma799/hyprduma-config.git
synced 2026-05-13 22:21:00 +00:00
Pywal explantion, updated README, some specific changes in hyprland.conf
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
#!/bin/bash
|
||||
# Script to apply pywal colors to Hyprland and Caelestia shell
|
||||
|
||||
# Generate pywal colors (this assumes you've already run 'wal -i /path/to/wallpaper')
|
||||
# The templates will be automatically processed
|
||||
|
||||
echo "Applying pywal colors to Hyprland and Caelestia..."
|
||||
|
||||
# Copy the generated Caelestia scheme to the proper location
|
||||
if [ -f ~/.cache/wal/caelestia-scheme.json ]; then
|
||||
mkdir -p ~/.local/state/caelestia
|
||||
cp ~/.cache/wal/caelestia-scheme.json ~/.local/state/caelestia/scheme.json
|
||||
echo "✓ Caelestia colors updated"
|
||||
fi
|
||||
|
||||
# Reload Hyprland configuration
|
||||
if command -v hyprctl &> /dev/null; then
|
||||
hyprctl reload
|
||||
echo "✓ Hyprland configuration reloaded"
|
||||
fi
|
||||
|
||||
# Restart Caelestia shell to apply new colors
|
||||
if pgrep -x "caelestia" > /dev/null; then
|
||||
pkill caelestia
|
||||
sleep 0.5
|
||||
|
||||
Reference in New Issue
Block a user