diff options
| author | Saumit <justsaumit@protonmail.com> | 2026-05-23 18:15:35 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2026-05-23 18:15:35 +0530 |
| commit | 4a750b1d31fb00f2bf7a43c10baa23269758fc02 (patch) | |
| tree | 772eaad3b702e7c0c703531e796517e34ab2def3 | |
| parent | 926e184b8dd1e1994d7f44ed272d708debce5d43 (diff) | |
| -rw-r--r-- | stow/hyprland/.config/hypr/hyprland.conf | 11 | ||||
| -rw-r--r-- | stow/zsh/.zshrc | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/stow/hyprland/.config/hypr/hyprland.conf b/stow/hyprland/.config/hypr/hyprland.conf index 091bb2a..a029630 100644 --- a/stow/hyprland/.config/hypr/hyprland.conf +++ b/stow/hyprland/.config/hypr/hyprland.conf @@ -223,10 +223,11 @@ gesture = 3, pinch, fullscreen binds { workspace_back_and_forth = true allow_workspace_cycles = true - # trigger when the switch is toggled - bindl=,switch:Lid Switch,exec,swaylock } +# Trigger swaylock only when lid is closed (not when opened) +bindl=,switch:on:Lid Switch,exec,~/.scripts/swaylock-wrapper + # Example per-device config # See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more #device { @@ -346,7 +347,7 @@ bind = $MOD SHIFT, B, exec, foot -e btop # Global Hot-keys # ################### ##screenlock -bind = $MOD , L, exec, swaylock +bind = $MOD , L, exec, ~/.scripts/swaylock-wrapper $SS_DIR = /home/justsaumit/pix/Screenshots @@ -388,7 +389,7 @@ bind = $MOD, F9, exec, blueman-manager bind = $MOD, Return,layoutmsg, swapwithmaster #fullscreen layout toggle -bind = $MOD, H, togglesplit +#bind = $MOD, H, togglesplit bind= $MOD, U, fullscreen # Move focus with MOD + arrow keys @@ -511,7 +512,7 @@ windowrule = float on, match:class hyprland-run # } # Spotify to workspace 9 -windowrule = workspace 9, match:class ^(spotify)$ +windowrule = workspace 9, match:class ^(Spotify)$ # Obsidian opacity windowrule = opacity 1.0, match:class ^(obsidian)$ diff --git a/stow/zsh/.zshrc b/stow/zsh/.zshrc index 3a021a1..3ba6898 100644 --- a/stow/zsh/.zshrc +++ b/stow/zsh/.zshrc @@ -161,3 +161,7 @@ export PATH="$PATH:$ANDROID_HOME/tools/bin" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" # Load secrets [ -f "${XDG_CONFIG_HOME:-$HOME}/.zsh_secrets" ] && source "${XDG_CONFIG_HOME:-$HOME}/.zsh_secrets" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" |
