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/macchiato.conf
|
||||||
source = $themes/mocha.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
|
# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly
|
||||||
# exec-once = $scriptsDir/Sunset.sh
|
# exec-once = $scriptsDir/Sunset.sh
|
||||||
|
|
||||||
# auto close of apps (timeout 2 secs)
|
# auto close of apps (timeout 5 secs)
|
||||||
# exec-once = $scriptsDir/AppAutoClose.sh
|
# exec-once = $scriptsDir/AppAutoClose.sh
|
||||||
|
|
||||||
# sway-idle with lock
|
# sway-idle with lock
|
||||||
|
|||||||
@ -12,7 +12,6 @@ master {
|
|||||||
new_is_master=1
|
new_is_master=1
|
||||||
new_on_top=0
|
new_on_top=0
|
||||||
mfact = 0.5
|
mfact = 0.5
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
@ -71,11 +70,10 @@ animations {
|
|||||||
enabled = yes
|
enabled = yes
|
||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
bezier = liner, 0, 0, 1, 1
|
bezier = linear, 0.0, 0.0, 1.0, 1.0
|
||||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||||
bezier = winOut, 0.3, -0.3, 0, 1
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||||||
bezier = liner, 1, 1, 1, 1
|
|
||||||
bezier = slow, 0, 0.85, 0.3, 1
|
bezier = slow, 0, 0.85, 0.3, 1
|
||||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||||
@ -85,8 +83,8 @@ animations {
|
|||||||
animation = windowsIn, 1, 5, slow, popin
|
animation = windowsIn, 1, 5, slow, popin
|
||||||
animation = windowsOut, 1, 5, winOut, popin
|
animation = windowsOut, 1, 5, winOut, popin
|
||||||
animation = windowsMove, 1, 5, wind, slide
|
animation = windowsMove, 1, 5, wind, slide
|
||||||
animation = border, 1, 20, nice
|
animation = border, 1, 10, linear
|
||||||
animation = borderangle, 1, 30, liner, loop
|
animation = borderangle, 1, 100, linear, loop
|
||||||
animation = fade, 1, 5, overshot
|
animation = fade, 1, 5, overshot
|
||||||
animation = workspaces, 1, 5, wind
|
animation = workspaces, 1, 5, wind
|
||||||
animation = windows, 1, 5, bounce, popin
|
animation = windows, 1, 5, bounce, popin
|
||||||
|
|||||||
@ -19,5 +19,5 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 2
|
sleep 5
|
||||||
done
|
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