aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/sway/config3
-rwxr-xr-xdotfiles/.scripts/menurun6
-rwxr-xr-xdotfiles/.scripts/menuxrun7
3 files changed, 13 insertions, 3 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 5289280..89f068e 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -147,6 +147,8 @@ bindsym --to-code {
# start program launcher
$mod+d exec --no-startup-id menurun
+ # start program launcher (force through XWayland)
+ $mod+Ctrl+d exec --no-startup-id menuxrun
# Mako (notifications)
$mod+Ctrl+space exec "makoctl dismiss"
@@ -172,6 +174,7 @@ bindsym --to-code {
# Start Applications
$mod+Shift+w exec --no-startup-id $browser
+ $mod+F2 exec menumako
$mod+F3 exec menudisplay
$mod+F4 exec menublk
$mod+r exec kitty -e ranger
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