diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-06 19:06:05 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-06 19:06:05 +0900 |
| commit | 747a78071eb4a717b19f37dc69fb41ba707312a9 (patch) | |
| tree | b58591612b22c36860c9fb931b6208f5a4d895f6 /config/hypr | |
| parent | 36ba246bf40fb833064ac63ad0b291fc3eedcdb7 (diff) | |
small tweak for rofi
Diffstat (limited to 'config/hypr')
| -rw-r--r-- | config/hypr/initial-boot.sh | 3 | ||||
| -rwxr-xr-x | config/hypr/scripts/DarkLight.sh | 10 |
2 files changed, 8 insertions, 5 deletions
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" |
