From 06ebba4c53dc2751a2aad1cbccb870bb7db6dc07 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Thu, 2 Apr 2020 14:22:19 +0300 Subject: HUGE home cleanup --- dotfiles/.local/bin/ddquakemite | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles/.local/bin/ddquakemite') diff --git a/dotfiles/.local/bin/ddquakemite b/dotfiles/.local/bin/ddquakemite index ef67955..ae73235 100755 --- a/dotfiles/.local/bin/ddquakemite +++ b/dotfiles/.local/bin/ddquakemite @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if ! [ -z "$(swaymsg -t get_tree | grep 'quakemite')" ]; then if [ -z "$(swaymsg -t get_tree | grep -A 42 'quakemite' | tail -n 1 | grep 'true')" ]; then @@ -7,7 +7,7 @@ if ! [ -z "$(swaymsg -t get_tree | grep 'quakemite')" ]; then swaymsg '[title="quakemite"] move scratchpad' fi else - $TERMINAL -t "quakemite" -e "$SHELL -c 'TERM=xterm-256color; TERMINAL=termite; tmux a || tmux'" & + $TERMINAL -t "quakemite" -e "$SHELL -c 'TERM=xterm-256color; TERMINAL=termite; tmux -f "$HOME/.config/tmux/tmux.conf" a || tmux -f "$HOME/.config/tmux/tmux.conf"'" & sleep 0.2s currenty=$(swaygetcurrentwindow | cut -d ' ' -f1 | cut -d ',' -f2 ) let moveup=$currenty-25 -- cgit v1.2.3