aboutsummaryrefslogtreecommitdiff
path: root/.vifm/scripts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-29 03:39:41 +0300
committereug-vs <eug-vs@keemail.me>2021-03-29 03:39:41 +0300
commitf0fbf92e00f9a706cac8d643a05500badbd12d51 (patch)
tree318fd8a115c880258e6c6d548b37189457563633 /.vifm/scripts
parentf203017eff1b8c59b94ee3fea3321e9c496c24b1 (diff)
downloaddotfiles-f0fbf92e00f9a706cac8d643a05500badbd12d51.tar.gz
feat!: remove unused configs
Diffstat (limited to '.vifm/scripts')
-rwxr-xr-x.vifm/scripts/i3-workspace.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/.vifm/scripts/i3-workspace.sh b/.vifm/scripts/i3-workspace.sh
deleted file mode 100755
index fdfd6b3..0000000
--- a/.vifm/scripts/i3-workspace.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-# !/bin/bash
-# Generate layout from JSON in a separate
-# workspace and open nvim + alacritty.
-# Requires workspace.json (see $LAYOUT, can be copied
-# from config/i3/workspace.json).
-
-LAYOUT=~/.config/i3/workspace.json
-
-WORKSPACE=$(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
-WORKDIR=$1
-
-i3-msg "workspace $WORKSPACE; append_layout $LAYOUT"
-alacritty --title "nvim" --working-directory $WORKDIR -e zsh -c "nvim; zsh" &
-alacritty --title "primary-terminal" --working-directory $WORKDIR -e zsh &
-alacritty --title "secondary-terminal" --working-directory $WORKDIR -e zsh &
-
-# Fix weird nvim + Alacritty behaviour
-# TODO: remove this hack after you start using Tmux
-sleep 0.3
-i3-msg reload
-