modified ~/.config/hypr/Settings.conf or all entries in hyprland.conf <<< if you use 1 file config - except for scripts:
Code: Select all
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
bezier = linear, 0.0, 0.0, 1.0, 1.0
animations {
enabled = yes
animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 10, default
animation = borderangle, 1, 100, linear, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
animation = windows, 1, 6, wind, slide
}Code: Select all
#!/bin/bash
function random_hex() {
random_hex=("0xff$(openssl rand -hex 3)")
echo $random_hex
}
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
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) 270degCode: Select all
exec-once = $scriptsDir/RainbowBorders.shthis looks great with Dark Themes https://0x0.st/s/TGndw_0dkJ0nTvMmg8Ikfg/HyJp.png
edit:
forgot to mention that i found it here https://www.reddit.com/r/hyprland/comme ... ve_border/ <<< thanks to this user.
edit_1:
Code: Select all
animation = borderangle, 1, 100, linear, loop