From 2cdff0b877cd5303fa741ba107b25fee038550af Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Nov 2020 17:33:02 +0100 Subject: More extensible bspwm --- .config/bspwm/bspwmrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.config/bspwm/bspwmrc') diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index cbc90d7..f2d6068 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -6,6 +6,10 @@ use Capture::Tiny qw(capture); use Time::HiRes; use WWW::Curl::Easy; +use constant { + TERMINAL => 'st', + TERM_PATH => '/usr/local/bin/st' +}; use constant { DASH_PATH => '/usr/local/bin/dash', SXHKD_PATH => '/usr/local/bin/sxhkd', @@ -23,7 +27,6 @@ use constant { LOWBAT_PATH => '/usr/local/bin/lowbat', EMACS_PATH => '/usr/local/bin/emacs', NEOVIM_PATH => '/usr/local/bin/nvim', - TERM_PATH => '/usr/local/bin/st', PGREP_PATH => '/bin/pgrep', ESPEAK_PATH => '/usr/local/bin/espeak', SH_PATH => '/bin/sh', @@ -56,7 +59,7 @@ use constant { }; use constant COWSAY_WELCOME => 'Welcome back, partner! And remember to try glest!'; use constant NETWORK_TEST_URL => 'https://www.freebsd.org/'; -use constant SLEEP_TIME => 1; +use constant SLEEP_TIME => 2.5; sub run_if_dead { @@ -96,7 +99,7 @@ sub run_if_dead sub kill_some { - system(PKILL_PATH, 'alacritty'); + system(PKILL_PATH, TERMINAL); return; } -- cgit v1.2.3