mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
added rainbow borders, edit app-autoclose
This commit is contained in:
parent
1dace08316
commit
803f9d62a1
@ -32,10 +32,13 @@ exec-once = wl-paste --watch cliphist store
|
||||
#source = $themes/macchiato.conf
|
||||
source = $themes/mocha.conf
|
||||
|
||||
# Rainbow borders
|
||||
exec-once = $scriptsDir/RainbowBorders.sh
|
||||
|
||||
# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly
|
||||
# exec-once = $scriptsDir/Sunset.sh
|
||||
|
||||
# auto close of apps (timeout 2 secs)
|
||||
# auto close of apps (timeout 5 secs)
|
||||
# exec-once = $scriptsDir/AppAutoClose.sh
|
||||
|
||||
# sway-idle with lock
|
||||
|
||||
@ -12,7 +12,6 @@ master {
|
||||
new_is_master=1
|
||||
new_on_top=0
|
||||
mfact = 0.5
|
||||
|
||||
}
|
||||
|
||||
general {
|
||||
@ -68,28 +67,27 @@ decoration {
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = liner, 0, 0, 1, 1
|
||||
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 = slow, 0, 0.85, 0.3, 1
|
||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||
bezier = sligshot, 1, -1, 0.15, 1.25
|
||||
bezier = nice, 0, 6.9, 0.5, -4.20
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = linear, 0.0, 0.0, 1.0, 1.0
|
||||
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 = slow, 0, 0.85, 0.3, 1
|
||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||
bezier = sligshot, 1, -1, 0.15, 1.25
|
||||
bezier = nice, 0, 6.9, 0.5, -4.20
|
||||
|
||||
animation = windowsIn, 1, 5, slow, popin
|
||||
animation = windowsOut, 1, 5, winOut, popin
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 20, nice
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
animation = fade, 1, 5, overshot
|
||||
animation = workspaces, 1, 5, wind
|
||||
animation = windows, 1, 5, bounce, popin
|
||||
animation = windowsIn, 1, 5, slow, popin
|
||||
animation = windowsOut, 1, 5, winOut, popin
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 10, linear
|
||||
animation = borderangle, 1, 100, linear, loop
|
||||
animation = fade, 1, 5, overshot
|
||||
animation = workspaces, 1, 5, wind
|
||||
animation = windows, 1, 5, bounce, popin
|
||||
}
|
||||
|
||||
input {
|
||||
|
||||
@ -19,5 +19,5 @@ while true; do
|
||||
fi
|
||||
done
|
||||
|
||||
sleep 2
|
||||
sleep 5
|
||||
done
|
||||
|
||||
10
config/hypr/scripts/RainbowBorders.sh
Executable file
10
config/hypr/scripts/RainbowBorders.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/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) 270deg
|
||||
Loading…
x
Reference in New Issue
Block a user