aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorbozo.kopic <bozo.kopic@gmail.com>2020-06-22 18:35:08 +0200
committerbozo.kopic <bozo.kopic@gmail.com>2020-06-22 18:35:08 +0200
commitc2926f4be4a7b18649672c4f6f58f8978898932a (patch)
treefda97d0577aae08fc983bc3db9d12f155840c84a /i3
parenta0bd7bdcb2241f5106d77fcebbc5d00e9088e7a3 (diff)
.
Diffstat (limited to 'i3')
-rw-r--r--i3/config4
-rwxr-xr-xi3/terminal.sh11
2 files changed, 2 insertions, 13 deletions
diff --git a/i3/config b/i3/config
index 56bc71d..34d96ee 100644
--- a/i3/config
+++ b/i3/config
@@ -128,5 +128,5 @@ exec_always --no-startup-id feh --bg-scale ~/.dotfiles/pictures/bg1.jpg \
for_window [instance="scratchpad_term"] \
move scratchpad, \
border none, \
- exec --no-startup-id ~/.config/i3/terminal.sh
-bindsym F12 exec --no-startup-id ~/.config/i3/terminal.sh
+ exec --no-startup-id ~/.config/terminal.sh
+bindsym F12 exec --no-startup-id ~/.config/terminal.sh
diff --git a/i3/terminal.sh b/i3/terminal.sh
deleted file mode 100755
index 5d6808d..0000000
--- a/i3/terminal.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-CLASSNAME=scratchpad_term
-
-[[ -z $(xdotool search --classname $CLASSNAME) ]] && \
- alacritty --class $CLASSNAME -e tmux new-session -A -s default
-
-i3-msg [instance=\"$CLASSNAME\"] scratchpad show, \
- resize set 100 ppt 100 ppt, \
- resize shrink height 22 px, \
- move position center