aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-08 00:49:14 +0300
committereug-vs <eug-vs@keemail.me>2020-12-08 00:49:14 +0300
commiteb95acf35b113812d45c8a33a27339c9d0a3dc1d (patch)
tree5ed90e03a0bed25773ea45872cc4de269edb034f /.local
parent73bedfcfa967e0304983dd6203c1d3fcbb0c57de (diff)
downloaddotfiles-eb95acf35b113812d45c8a33a27339c9d0a3dc1d.tar.gz
chore: add vifm config
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/i3-workspace.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/.local/bin/i3-workspace.sh b/.local/bin/i3-workspace.sh
deleted file mode 100755
index fdfd6b3..0000000
--- a/.local/bin/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
-