#!/bin/bash # for rainbow borders animation function random_hex() { random_hex=("0xff$(openssl rand -hex 3)") echo $random_hex } # rainbow colors only for active window hyprctl keyword general:col.active_border $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) 270deg # rainbow colors for inactive window (uncomment to take effect) #hyprctl keyword general:col.inactive_border $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) 270deg