diff --git a/utility/change_hyprland_borders.sh b/utility/change_hyprland_borders.sh new file mode 100755 index 0000000..1e926e8 --- /dev/null +++ b/utility/change_hyprland_borders.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# Ferit Yiğit BALABAN, +# desktop environment timer, 2023 +# + +hyprland_config="$HOME/.config/hypr/hyprland.conf" +wal_colors="$HOME/.cache/wal/colors" + +line2=$(head -n 2 < "$wal_colors" | tail -n 1 | sed 's/#//') +line3=$(head -n 3 < "$wal_colors" | tail -n 1 | sed 's/#//') + +sed -i "s/col.active_border =.*/col.active_border = rgb($line2) rgb($line3)/" "$hyprland_config"