From 747a78071eb4a717b19f37dc69fb41ba707312a9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 19:06:05 +0900 Subject: small tweak for rofi --- config/hypr/initial-boot.sh | 3 +++ config/hypr/scripts/DarkLight.sh | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 0e68f792..6b0bd72a 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -14,6 +14,9 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers wal -i ~/Pictures/wallpapers/* echo "Pywal initialized" + + #initial symlink for Pywal Dark and Light for Rofi Themes + ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" fi fi diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 80f30b38..f20dc337 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -45,11 +45,11 @@ ln -sf "${waybar_config}/style/style-pywal.css" "${waybar_config}/style.css" ln -sf "${dunst_config}/styles/dunstrc-${next_mode}" "${dunst_config}/styles/dunstrc" # Symlink for rofi theme -#if [ "$next_mode" = "dark" ]; then -# ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#else -# ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#fi +if [ "$next_mode" = "dark" ]; then + ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +else + ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +fi gtk_theme="${next_mode}_gtk_theme" icon_theme="${next_mode}_icon_theme" -- cgit v1.2.3