aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-05-28 15:44:18 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-05-28 15:44:18 -0500
commit68a4d885136c06342a1f1a050fcf5888ae0fed6c (patch)
treeb75c836b4b3a466f6d00ea66dfa86da8884653a1
parentbb71784fa98bcfb30fb91c982d318ed9573563be (diff)
fix(sway): fix bug in sway-ssh and wmenu
-rw-r--r--sway/.config/sway/config2
-rwxr-xr-xsway/.local/bin/sway-ssh1
2 files changed, 2 insertions, 1 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index e6d38d0..0543830 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -5,7 +5,7 @@ set $down j
set $up k
set $right l
-set $menu wmenu
+set $menu ~/.local/bin/wmenu
set $out1 -
set $out2 -
diff --git a/sway/.local/bin/sway-ssh b/sway/.local/bin/sway-ssh
index 4e99fdd..c262471 100755
--- a/sway/.local/bin/sway-ssh
+++ b/sway/.local/bin/sway-ssh
@@ -4,6 +4,7 @@ if [ ! -t 0 ]; then
set -- "$@" "$(cat)"
elif [ $# -eq 0 ]; then
sshr --resolve --port 22 --scan 0.0.0.0/24
+ exit 0
fi
# shellcheck disable=SC2068