diff options
author | Yaroslav <contact@yaroslavps.com> | 2019-12-09 04:00:54 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2019-12-09 04:00:54 +0300 |
commit | 0367948c02b1d3053eaf430a0d37f9e8248d523c (patch) | |
tree | dcff56f2fd8a124674f623c85037feafd30549c4 /dotfiles/.scripts | |
parent | dc05e567e3d548f82c4d00c60c7eb60c93bb1183 (diff) | |
download | swayrice-0367948c02b1d3053eaf430a0d37f9e8248d523c.tar.gz swayrice-0367948c02b1d3053eaf430a0d37f9e8248d523c.zip |
bemenu script to force run apps through xwayland
Diffstat (limited to 'dotfiles/.scripts')
-rwxr-xr-x | dotfiles/.scripts/menurun | 6 | ||||
-rwxr-xr-x | dotfiles/.scripts/menuxrun | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/dotfiles/.scripts/menurun b/dotfiles/.scripts/menurun index 744d420..a3fc82d 100755 --- a/dotfiles/.scripts/menurun +++ b/dotfiles/.scripts/menurun @@ -3,7 +3,7 @@ # Source settings from .bemenurc . $HOME/.bemenurc -#action=$(compgen -c | sort -u | bemenu -p "Run:" $BEMENU_OPTIONS) -#$action +action=$(compgen -c | sort -u | bemenu -p "Run:" --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB") +$action -bemenu-run --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" +#bemenu-run --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" diff --git a/dotfiles/.scripts/menuxrun b/dotfiles/.scripts/menuxrun new file mode 100755 index 0000000..7ce556e --- /dev/null +++ b/dotfiles/.scripts/menuxrun @@ -0,0 +1,7 @@ +#!/bin/sh + +# Source settings from .bemenurc +. $HOME/.bemenurc + +action=$(compgen -c | sort -u | bemenu -p "Force run inside XWayland:" --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB") +xway $action |