From 17febf687dcd48e2e755efdfeefd0a3d25ca7c48 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Wed, 29 May 2024 11:43:35 +0545 Subject: [PATCH] fixed kb_changer --- config/hypr/scripts/tmux.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 config/hypr/scripts/tmux.sh diff --git a/config/hypr/scripts/tmux.sh b/config/hypr/scripts/tmux.sh deleted file mode 100755 index e24e0b86..00000000 --- a/config/hypr/scripts/tmux.sh +++ /dev/null @@ -1,19 +0,0 @@ -#! /usr/bin/env bash - -TERMINAL="kitty" - -function tmux_sessions() { - tmux list-session -F '#S' -} - -TMUX_SESSION=$( (echo new; tmux_sessions) | rofi -dmenu -p "󰆍 Tmux") - -if [[ x"new" = x"${TMUX_SESSION}" ]]; then - $TERMINAL -e tmux new-session & - exit 0 -elif [[ -z "${TMUX_SESSION}" ]]; then - exit 1 -else - $TERMINAL -e tmux attach -t "${TMUX_SESSION}" & - exit 0 -fi