From df8e3a7bd7c486ca0ab8b0130007aeabf8904409 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 30 Jun 2022 16:49:35 -0400 Subject: [PATCH] Add rebar script --- .config/fish/functions/rebar.fish | 5 +++++ scripts/rebar | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .config/fish/functions/rebar.fish create mode 100755 scripts/rebar diff --git a/.config/fish/functions/rebar.fish b/.config/fish/functions/rebar.fish new file mode 100644 index 0000000..977dbf1 --- /dev/null +++ b/.config/fish/functions/rebar.fish @@ -0,0 +1,5 @@ +function rebar + pkill -fi polybar; and pkill -fi -9 polybar + bspc config top_padding -10 + polybar m-bar &> /dev/null & disown +end diff --git a/scripts/rebar b/scripts/rebar new file mode 100755 index 0000000..94a1d68 --- /dev/null +++ b/scripts/rebar @@ -0,0 +1,2 @@ +#!/usr/bin/env fish +rebar