New animations for overlays (status bar, launcher and side panel), fade is ugly. Added the devinit alias for the new devbox system and reswitched helix to dark. Fixed a bug in the set-wallpaper script

This commit is contained in:
Gu://em_ 2026-04-25 21:32:13 +02:00
parent 83116af07b
commit 92bb14e687
4 changed files with 35 additions and 36 deletions

View file

@ -1,5 +1,5 @@
# theme = "github_dark"
theme = "adwaita-light"
theme = "github_dark"
# theme = "adwaita-light"
[editor]

View file

@ -53,19 +53,28 @@ decoration {
# TODO: replace layerrules
# Apply blur to waybar
# layerrule {
# name = waybar
# blur = on
# }
# Apply blur to swaync
## New
# Apply blur
layerrule {
name = swaync-control-center,swaync-notification-window
name = side-panel
blur = on
ignore_alpha = 0.5
ignore_alpha = 0.2
animation = slide right
dim_around = on
match:namespace = ^(swaync-control-center)$
}
layerrule {
name = launcher
blur = off
animation = popin 90%
match:namespace = ^(rofi)$
}
layerrule {
name = status-bar
blur = off
animation = slide up
match:namespace = ^(waybar)$
}
## Old
@ -94,7 +103,7 @@ animations {
# Animations
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = border, 1, 4, easeOutQuint
animation = windows, 1, 3.79, easeOutQuint
animation = windowsIn, 1, 3.1, easeOutQuint, popin 87%
@ -105,17 +114,17 @@ animations {
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = layersIn, 1, 3, easeOutQuint, popin 85%
animation = layersOut, 1, 3, linear, popin
# animation = fadeLayersIn, 1, 1.79, almostLinear
# animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 3, easeOutQuint, slide
animation = workspacesOut, 1, 3, easeOutQuint, slide
#animation = workspacesIn, 1, 3, easeOutQuint, slidefade
#animation = workspacesOut, 1, 5, easeOutQuint, slidefade
# animation = workspacesIn, 1, 3, easeOutQuint, slidefade
# animation = workspacesOut, 1, 5, easeOutQuint, slidefade
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/

View file

@ -25,7 +25,7 @@ if [ $# -lt 1 ]; then
fi
## Parse args
shift 2
shift 1
for arg in "$@"; do
case "$arg" in
"-l")

20
.zshrc
View file

@ -79,6 +79,8 @@ export PATH=$PATH:~/.local/bin
export PATH=$PATH:~/.local/share/Xilinx/Vivado/2024.2/bin
export EDITOR=helix
export DIRENV_LOG_FORMAT=" "
# Aliases
alias cl='clear'
alias hyprcfg='$EDITOR ~/.config/hypr/'
@ -90,8 +92,9 @@ alias zed='zeditor'
alias cg='cargo'
alias rqr='rust-quick-run.sh'
alias vm='quickemu --vm *.conf'
alias paclist="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
"
alias paclist="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"
alias devinit="devbox init && echo 'use devbox' > .envrc && direnv allow"
# Power management
alias pprof='cat /sys/firmware/acpi/platform_profile' # Get current performance profile
alias pprof-list='cat /sys/firmware/acpi/platform_profile_choices' # Lists the available performance profiles
@ -113,16 +116,3 @@ alias cm=" cmake -S . -B build && cmake --build build"
eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)" # Override cd with zoxide
eval "$(direnv hook zsh)"
# Nix
if [ -e /etc/profile.d/nix-daemon.sh ]; then
. /etc/profile.d/nix-daemon.sh
fi
# pnpm
export PNPM_HOME="/home/guillm/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end