diff --git a/env/.config/hypr/windows.conf b/env/.config/hypr/windows.conf index d7fa608..e92940f 100644 --- a/env/.config/hypr/windows.conf +++ b/env/.config/hypr/windows.conf @@ -18,18 +18,14 @@ windowrule = size 90% 80%, class:^(com.ghostty.weather)$ # 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:^(com.ghostty.windowctl)$ +windowrule = tag +floating-window, class:^(com.ghostty.utils-launcher)$ # Force to stay focused when visible. windowrule = stayfocused, class:(blueberry.py) windowrule = stayfocused, class:Pinentry.gtk windowrule = stayfocused, class:com.ghostty.float windowrule = stayfocused, class:com.ghostty.windowctl - -# Utils-Launcher windowrule = stayfocused, class:^(com.ghostty.utils-launcher)$ -windowrule = float, class:^(com.ghostty.utils-launcher)$ -windowrule = center, class:^(com.ghostty.utils-launcher)$ -windowrule = size 80% 80%, class:^(com.ghostty.utils-launcher)$ # Clipboard history tui in floating window. windowrule = tag +floating-window, class:.*clipse.* diff --git a/env/.local/scripts/hypr/logging b/env/.local/scripts/hypr/logging index 90467db..45620d5 100755 --- a/env/.local/scripts/hypr/logging +++ b/env/.local/scripts/hypr/logging @@ -31,7 +31,6 @@ set -e set -o nounset set -o pipefail -LOG_FILE=${LOG_FILE:-""} LOG_INVOCATION_ID=${LOG_INVOCATION_ID:-""} LOG_LABEL=${LOG_LABEL:-""} # Run in dry run mode, which just prints to the console and does diff --git a/env/.local/scripts/hypr/utils-launcher b/env/.local/scripts/hypr/utils-launcher index b4b29d8..0d45de9 100755 --- a/env/.local/scripts/hypr/utils-launcher +++ b/env/.local/scripts/hypr/utils-launcher @@ -118,7 +118,8 @@ sel=$( printf "%s\n" "${rows[@]}" | fzf --style=full --footer="$(footer)" --with-nth=2 --delimiter='|' \ --preview-label='[ Command ]' \ - --preview="$SCRIPTS/hypr/utils/fzf/preview-stats utils {2} $config_file" + --preview="$SCRIPTS/hypr/utils/fzf/preview-stats utils {2} $config_file" \ + --preview-window='down,30%' ) log "Selection: $sel" diff --git a/env/.local/scripts/hypr/utils/workspaces/workspace-picker b/env/.local/scripts/hypr/utils/workspaces/workspace-picker index ec1df48..b6dcca5 100755 --- a/env/.local/scripts/hypr/utils/workspaces/workspace-picker +++ b/env/.local/scripts/hypr/utils/workspaces/workspace-picker @@ -11,6 +11,9 @@ THIS=${THIS:-$LOG_LABEL} LOG_FILE=${LOG_FILE:-"/tmp/$LOG_LABEL.log"} FZF_DEFAULT_OPTS=${FZF_DEFAULT_OPTS:-""} +return_name_if_special_flag="0" +return_name_flag="0" + usage() { cat <