feat: Adds swiftly env support to zshrc.

This commit is contained in:
2025-12-31 12:27:35 -05:00
parent df876d2cac
commit b159565288
2 changed files with 42 additions and 41 deletions

View File

@@ -4,44 +4,44 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float, tag:floating-window # windowrule = float, tag:floating-window
windowrule = center, tag:floating-window # windowrule = center, tag:floating-window
windowrule = size 60% 60%, tag:floating-window # windowrule = size 60% 60%, tag:floating-window
#
# Weather tui # # Weather tui
windowrule = float, class:^(com.ghostty.weather)$ # windowrule = float, class:^(com.ghostty.weather)$
windowrule = center, class:^(com.ghostty.weather)$ # windowrule = center, class:^(com.ghostty.weather)$
windowrule = size 90% 80%, class:^(com.ghostty.weather)$ # windowrule = size 90% 80%, class:^(com.ghostty.weather)$
#
# Force windows to be a floating window # # Force windows to be a floating window
windowrule = tag +floating-window, class:^(blueberry.py|org.gnome.Nautilus|com.ghostty.float)$ # windowrule = tag +floating-window, class:^(blueberry.py|org.gnome.Nautilus|com.ghostty.float)$
windowrule = tag +floating-window, class:^(com.ghostty.windowctl)$ # windowrule = tag +floating-window, class:^(com.ghostty.windowctl)$
windowrule = tag +floating-window, class:^(com.ghostty.utils-launcher)$ # windowrule = tag +floating-window, class:^(com.ghostty.utils-launcher)$
windowrule = tag +floating-window, class:^(com.ghostty.homelab-launcher)$ # windowrule = tag +floating-window, class:^(com.ghostty.homelab-launcher)$
#
# Force to stay focused when visible. # # Force to stay focused when visible.
windowrule = stayfocused, class:(blueberry.py) # windowrule = stayfocused, class:(blueberry.py)
windowrule = stayfocused, class:Pinentry.gtk # windowrule = stayfocused, class:Pinentry.gtk
windowrule = stayfocused, class:com.ghostty.float # windowrule = stayfocused, class:com.ghostty.float
windowrule = stayfocused, class:com.ghostty.windowctl # windowrule = stayfocused, class:com.ghostty.windowctl
windowrule = stayfocused, class:^(com.ghostty.utils-launcher)$ # windowrule = stayfocused, class:^(com.ghostty.utils-launcher)$
#
# Clipboard history tui in floating window. # # Clipboard history tui in floating window.
windowrule = tag +floating-window, class:.*clipse.* # windowrule = tag +floating-window, class:.*clipse.*
windowrule = stayfocused, class:.*clipse.* # windowrule = stayfocused, class:.*clipse.*
#
# Ignore maximize requests from apps. You'll probably like this. # # Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.* # windowrule = suppressevent maximize, class:.*
#
# Just a dash of opacity by default. # # Just a dash of opacity by default.
windowrule = opacity 0.97 0.92, class:.* # windowrule = opacity 0.97 0.92, class:.*
# No opacity on youtube. # # No opacity on youtube.
windowrule = opacity 1.0, class:.*youtube.com.* # windowrule = opacity 1.0, class:.*youtube.com.*
#
# Fix some dragging issues with XWayland # # Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 # windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
#
# To get more information about a windows class, title, XWayland status or its size, you can use `hyprctl clients`. (From Hyprland Wiki) # # To get more information about a windows class, title, XWayland status or its size, you can use `hyprctl clients`. (From Hyprland Wiki)
windowrulev2 = float,class:^(one.alynx.showmethekey)$ # windowrulev2 = float,class:^(one.alynx.showmethekey)$
windowrulev2 = float,class:^(showmethekey-gtk)$ # make window floating # windowrulev2 = float,class:^(showmethekey-gtk)$ # make window floating
windowrulev2 = pin,class:^(showmethekey-gtk)$ # pin window # windowrulev2 = pin,class:^(showmethekey-gtk)$ # pin window

View File

@@ -207,6 +207,7 @@ source <(fzf --zsh)
_source_if "$ZDOTDIR/.zshrc-local" _source_if "$ZDOTDIR/.zshrc-local"
_source_if "$LOCAL_ENV" _source_if "$LOCAL_ENV"
_source_if "$SCRIPTS/catppuccin-colors" _source_if "$SCRIPTS/catppuccin-colors"
_source_if "$XDG_DATA_HOME/swiftly/env.sh"
# pnpm # pnpm
export PNPM_HOME="$XDG_DATA_HOME/pnpm" export PNPM_HOME="$XDG_DATA_HOME/pnpm"