mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
fix: Fixes windowctl to handle when ctrl-c is hit from the window-picker, when not launched in a new terminal window. Adds a few more options to that allow to return to the window picker after performing certain actions on a selected window.
This commit is contained in:
2
env/.local/scripts/hypr/window-picker
vendored
2
env/.local/scripts/hypr/window-picker
vendored
@@ -76,9 +76,11 @@ sel=$(
|
||||
--preview-label='[ Window Stats ]' --delimiter='|' --with-nth=2 \
|
||||
--preview="$SCRIPTS/hypr/preview-stats window {1}"
|
||||
)
|
||||
status=$?
|
||||
|
||||
[[ -z $sel ]] && exit 1
|
||||
|
||||
# revove everything but the address portion.
|
||||
sel=${sel%%|*}
|
||||
echo "$sel"
|
||||
exit $status
|
||||
|
||||
Reference in New Issue
Block a user