aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/ddquakemite
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-02 14:22:19 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-02 14:22:19 +0300
commit06ebba4c53dc2751a2aad1cbccb870bb7db6dc07 (patch)
tree3ed4a5006d7f66b54bcf7e32df2add4bcf9a5911 /dotfiles/.local/bin/ddquakemite
parent348fd5f7ffd4586b8599615dd453dcc61af3ace7 (diff)
downloadswayrice-06ebba4c53dc2751a2aad1cbccb870bb7db6dc07.tar.gz
swayrice-06ebba4c53dc2751a2aad1cbccb870bb7db6dc07.zip
HUGE home cleanup
Diffstat (limited to 'dotfiles/.local/bin/ddquakemite')
-rwxr-xr-xdotfiles/.local/bin/ddquakemite4
1 files changed, 2 insertions, 2 deletions
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