diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 741be5d..d2282c5 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -1,5 +1,5 @@ -# theme = "github_dark" -theme = "adwaita-light" +theme = "github_dark" +# theme = "adwaita-light" [editor] diff --git a/.config/hypr/config/appearance.conf b/.config/hypr/config/appearance.conf index 0d51939..2f915bd 100644 --- a/.config/hypr/config/appearance.conf +++ b/.config/hypr/config/appearance.conf @@ -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/ diff --git a/.local/bin/set-wallpaper b/.local/bin/set-wallpaper index 18405eb..89b5dc5 100755 --- a/.local/bin/set-wallpaper +++ b/.local/bin/set-wallpaper @@ -25,7 +25,7 @@ if [ $# -lt 1 ]; then fi ## Parse args -shift 2 +shift 1 for arg in "$@"; do case "$arg" in "-l") diff --git a/.zshrc b/.zshrc index 36479ba..7ad2381 100644 --- a/.zshrc +++ b/.zshrc @@ -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