1
0
Fork 0
env/.local/bin/wofi_run

28 lines
546 B
Plaintext
Raw Normal View History

#!/bin/zsh
export PATH="$PATH:$HOME/.local/bin"
2021-12-20 17:16:00 +08:00
# Force Firefox to run using Wayland
2020-05-27 16:56:16 +08:00
export MOZ_ENABLE_WAYLAND=1
2021-12-20 17:16:00 +08:00
# Tell JetBrains & other AWT that Sway is non-reparenting
export _JAVA_AWT_WM_NONREPARENTING=1
2020-05-27 16:00:52 +08:00
cd ~
2020-05-27 16:00:52 +08:00
wofi \
2021-04-04 00:51:31 +08:00
--width 400 \
2020-05-27 16:00:52 +08:00
--prompt search \
--normal-window \
--allow-images --allow-markup \
--hide-scroll \
--matching contains \
--insensitive \
--term kitty \
2020-05-27 16:56:16 +08:00
--define always_parse_args=true \
2020-05-27 16:00:52 +08:00
--show drun,run
2020-05-27 16:56:16 +08:00
# REMOVED:
# --exec-search \
2020-05-27 16:00:52 +08:00
# TIPS:
# - Hold shift to open in terminal
2020-05-27 16:56:16 +08:00
# - Hold control to run with arguments