summaryrefslogtreecommitdiffstats
path: root/.config
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
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')
-rwxr-xr-x.config/bspwm/bspwmrc18
-rw-r--r--.config/fish/alias.fish1
2 files changed, 17 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);
diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish
index f9ea1d3..db740ab 100644
--- a/.config/fish/alias.fish
+++ b/.config/fish/alias.fish
@@ -47,3 +47,4 @@ alias watch='cmdwatch'
alias tsm='transmission-remote'
alias tsd='transmission-daemon'
alias df='df -h'
+alias rsox='sox -t oss default'