From 588984c769470ff070dc89a15fb6c63f1bc74562 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 10 Feb 2023 11:31:45 +0200 Subject: Removed local script files --- .local/bin/scripts/scratchpad | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100755 .local/bin/scripts/scratchpad (limited to '.local/bin/scripts/scratchpad') diff --git a/.local/bin/scripts/scratchpad b/.local/bin/scripts/scratchpad deleted file mode 100755 index 2192236..0000000 --- a/.local/bin/scripts/scratchpad +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/bash - -# Created By: srdusr -# Created On: Wed 18 Jan 2023 11:15:22 PM CAT -# Project: bspwm scratchpad with tmux session - -id=$(xdo id -n scratchpad); -if [ -z "$id" ]; then - wezterm start --class scratchpad -e tmux new-session -A -s tmux -e bash > /dev/null 2>&1 & -else - bspc node "$id" -g hidden -f -fi - -#- - - - - - - - - - - - -### Other Window Managers - -#id=$(xdotool search --class scratchpad); -#if [ -z "$id" ]; then -# wezterm start --class scratchpad -e tmux new-session -A -s scratch -e bash > /dev/null 2>&1 & -#else -# if [ ! -f /tmp/scratchpad ]; then -# touch /tmp/scratchpad && xdo hide "$id" -# elif [ -f /tmp/scratchpad ]; then -# rm /tmp/scratchpad && xdo show "$id" -# fi -#fi - -#- - - - - - - - - - - - -### Alacritty alternative - -#if id="$(xdo id -N scratch)" -# then bspc node "$id" -g hidden -f -# else alacritty --class scratch,scratchpad -e tmux new-session -A -s scratch -e bash > /dev/null 2>&1 & -#fi - -#- - - - - - - - - - - -- cgit v1.2.3