summaryrefslogtreecommitdiffstats
path: root/.config/bspwm/bspwmrc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-30 22:20:25 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-30 22:20:25 +0100
commitbe2a04d688f98fac99b128aeae068607d8bde40d (patch)
treec112f2a07d698f680fdbc66189025376c89339d2 /.config/bspwm/bspwmrc
parentGNU screen rice (diff)
downloaddotfiles-bsd-be2a04d688f98fac99b128aeae068607d8bde40d.tar.gz
dotfiles-bsd-be2a04d688f98fac99b128aeae068607d8bde40d.tar.bz2
dotfiles-bsd-be2a04d688f98fac99b128aeae068607d8bde40d.tar.xz
dotfiles-bsd-be2a04d688f98fac99b128aeae068607d8bde40d.tar.zst
dotfiles-bsd-be2a04d688f98fac99b128aeae068607d8bde40d.zip
bspwm update
Diffstat (limited to '.config/bspwm/bspwmrc')
-rwxr-xr-x.config/bspwm/bspwmrc18
1 files changed, 16 insertions, 2 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 8db461a..4cdd9b2 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -39,6 +39,8 @@ use constant {
SETWP_PATH => '/usr/home/jozan/.local/bin/setwp',
BSPSWALLOW_PATH => '/usr/home/jozan/.local/bin/bspswallow',
NEOMUTT_PATH => '/usr/local/bin/neomutt',
+ SCLI_PATH => '/usr/local/bin/scli',
+ VIMPC_PATH => '/usr/local/bin/vimpc',
MPD_NOTIFICATION_PATH => '/usr/local/bin/mpd-notification'
};
use constant {
@@ -327,9 +329,21 @@ sub run_fg_programs
exec(ALACRITTY_PATH, '-e', NEOMUTT_PATH);
}
Time::HiRes::sleep(SLEEP_TIME);
+ system(BSPC_PATH, 'desktop', '-f', '10');
+ $pid[1] = fork();
+ if (not $pid[1]) {
+ exec(ALACRITTY_PATH, '-e', SCLI_PATH);
+ }
+ Time::HiRes::sleep(SLEEP_TIME);
+ system(BSPC_PATH, 'desktop', '-f', '09');
+ $pid[2] = fork();
+ if (not $pid[2]) {
+ exec(ALACRITTY_PATH, '-e', VIMPC_PATH);
+ }
+ Time::HiRes::sleep(SLEEP_TIME);
system(BSPC_PATH, 'desktop', '-f', '01');
- $pid[0] = fork();
- if (not $pid[0]) {
+ $pid[3] = fork();
+ if (not $pid[3]) {
exec(ALACRITTY_PATH, '-e', NEOVIM_PATH);
}
Time::HiRes::sleep(SLEEP_TIME);