From 64b3f5883e5523e5193ba1583790cc8cfafcfe6e Mon Sep 17 00:00:00 2001 From: Jokler Date: Tue, 14 May 2019 22:13:09 +0200 Subject: Add scripts, polybar and i3 config files --- scripts/current-term | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 scripts/current-term (limited to 'scripts/current-term') diff --git a/scripts/current-term b/scripts/current-term new file mode 100755 index 0000000..1917293 --- /dev/null +++ b/scripts/current-term @@ -0,0 +1,18 @@ +#!/bin/bash + +set_class=0 +if [[ $1 == "--class" ]]; then + set_class=1 + class=$2 + shift + shift +fi + +if [[ $set_class -eq 1 ]]; then + #termite --name=$class $@ + alacritty --class $class $@ +else + termite $@ +fi + +# vim: expandtab sw=2 ts=2 -- cgit v1.2.3-70-g09d2