clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

no lock 1password - wrapper lockshell

sspaeti c82b5fd3 04efe10c

+17 -4
+1 -1
hypr/.config/hypr/bindings.conf
··· 63 63 unbind = SUPER CTRL, I 64 64 bindd = SUPER SHIFT, ESCAPE, Toggle locking on idle, exec, omarchy-toggle-idle 65 65 bindd = SUPER SHIFT, grave, Toggle locking on idle, exec, omarchy-toggle-idle 66 - bindd = SUPER CTRL, L, Locking computer, exec, omarchy-lock-screen 66 + bindd = SUPER CTRL, L, Locking computer, exec, ~/.config/hypr/sspaeti/omarchy-lock-screen-wrapper.sh 67 67 # Also check out ~/.dotfiles/helpers/bin/caffeinate to turn off for Xminuts with `caffeinate 30` or `caffeinate off` 68 68 69 69 bindd = SUPER ALT SHIFT, B, Toggle window transparency, exec, hyprctl dispatch setprop "address:$(hyprctl activewindow -j | jq -r '.address')" opaque toggle
+1 -1
hypr/.config/hypr/hypridle.conf
··· 1 1 general { 2 - lock_cmd = omarchy-lock-screen # lock screen and 1password 2 + lock_cmd = ~/.config/hypr/sspaeti/omarchy-lock-screen-wrapper.sh # lock screen (no 1password) 3 3 before_sleep_cmd = loginctl lock-session # lock before suspend. 4 4 after_sleep_cmd = sleep 1 && hyprctl dispatch dpms on # delay for PAM readiness, then turn on display. 5 5 inhibit_sleep = 5 # wait until screen is locked
+13
hypr/.config/hypr/sspaeti/omarchy-lock-screen-wrapper.sh
··· 1 + #!/bin/bash 2 + 3 + # Wrapper for omarchy-lock-screen that skips locking 1Password. 4 + # Calls the original behavior except the "1password --lock" step. 5 + 6 + # Lock the screen 7 + pidof hyprlock || hyprlock & 8 + 9 + # Set keyboard layout to default (first layout) 10 + hyprctl switchxkblayout all 0 > /dev/null 2>&1 11 + 12 + # Avoid running screensaver when locked 13 + pkill -f org.omarchy.screensaver
+1 -1
hypr/.config/hypr/sspaeti/omarchy-menu-flat
··· 230 230 "Restart Wifi") omarchy-launch-floating-terminal-with-presentation omarchy-restart-wifi ;; 231 231 "Restart Bluetooth") omarchy-launch-floating-terminal-with-presentation omarchy-restart-bluetooth ;; 232 232 233 - "Lock Screen") omarchy-lock-screen ;; 233 + "Lock Screen") ~/.config/hypr/sspaeti/omarchy-lock-screen-wrapper.sh ;; 234 234 "Launch Screensaver") omarchy-launch-screensaver force ;; 235 235 "Suspend") systemctl suspend ;; 236 236 "Logout") ~/.config/hypr/sspaeti/omarchy-system-menu-intercept logout ;;
+1 -1
hypr/.config/hypr/sspaeti/omarchy-system-menu
··· 38 38 options="$options\n󰍃 Logout\n󰜉 Restart\n󰐥 Shutdown" 39 39 40 40 case $(menu "System" "$options") in 41 - *Lock*) omarchy-lock-screen ;; 41 + *Lock*) ~/.config/hypr/sspaeti/omarchy-lock-screen-wrapper.sh ;; 42 42 *Suspend*) systemctl suspend ;; 43 43 *Hibernate*) systemctl hibernate ;; 44 44 *Logout*) handle_tmux_and_logout ;;