summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 17:22:10 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 17:22:10 +0200
commit79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772 (patch)
tree5368c02815a495a1ad7b37e6863d91030ef181b8 /.config
parentUpdate (diff)
downloaddotfiles-bsd-79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772.tar.gz
dotfiles-bsd-79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772.tar.bz2
dotfiles-bsd-79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772.tar.xz
dotfiles-bsd-79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772.tar.zst
dotfiles-bsd-79c88c87ca2abbc8b5a0597d48b23b6cdaa8f772.zip
Update
Diffstat (limited to '.config')
-rwxr-xr-x.config/bspwm/bspwmrc11
1 files changed, 2 insertions, 9 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index c5daa0b..1a2f7a5 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -62,14 +62,7 @@ sub run_if_dead
PGREP_PATH,
$bin
);
- };
- $retval = ($retval >> 8) & 0xff;
- if ($retval != 0) {
- $pid = fork();
- if (not $pid) {
- exec(@argv);
- exit;
- }
+ }; $retval = ($retval >> 8) & 0xff; if ($retval != 0) { $pid = fork(); if (not $pid) { exec(@argv); exit; }
}
return;
}
@@ -254,7 +247,6 @@ sub fg_on_one_screen
}
Time::HiRes::sleep(3.6);
system(BSPC_PATH, 'node', '-p', 'west');
- Time::HiRes::sleep(0.5);
$term_pid[1] = fork();
if (not $term_pid[1]) {
exec(ALACRITTY_PATH, '-e', HTOP_PATH);
@@ -285,6 +277,7 @@ sub run_terms
{
my ($screens) = @_;
+ Time::HiRes::sleep(1);
system(BSPC_PATH, 'desktop', '-f', '09');
if ($screens == 3) {
fg_on_three_screens();