diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-28 16:01:50 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-28 16:01:50 +0200 |
commit | 5876891f1679ddd04651d0c2b4c3ce60db411683 (patch) | |
tree | 212beb0dcacad075ee9680d91c1fa1d5a2149651 /.config/bspwm/bspwmrc | |
parent | No more multithread (diff) | |
download | dotfiles-bsd-5876891f1679ddd04651d0c2b4c3ce60db411683.tar.gz dotfiles-bsd-5876891f1679ddd04651d0c2b4c3ce60db411683.tar.bz2 dotfiles-bsd-5876891f1679ddd04651d0c2b4c3ce60db411683.tar.xz dotfiles-bsd-5876891f1679ddd04651d0c2b4c3ce60db411683.tar.zst dotfiles-bsd-5876891f1679ddd04651d0c2b4c3ce60db411683.zip |
Update
Diffstat (limited to '.config/bspwm/bspwmrc')
-rwxr-xr-x | .config/bspwm/bspwmrc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index d64dfe4..c5daa0b 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -93,7 +93,7 @@ sub enable_screens $screens = 3; system(TRIPLESCREEN_PATH); } - elsif ($stdout =~ m/DP1 connected/) { + elsif ($stdout =~ m/HDMI1 connected/) { $screens = 2; system(DUALSCREEN_PATH); } @@ -195,7 +195,6 @@ sub fg_on_three_screens system(BSPC_PATH, 'node', '-f', 'east'); system(BSPC_PATH, 'node', '-f', 'north'); system(BSPC_PATH, 'node', '-z', 'bottom', '0', '-280'); - system(BSPC_PATH, 'node', '-f', 'north'); system(BSPC_PATH, 'node', '-f', 'west'); return; } @@ -237,7 +236,6 @@ sub fg_on_two_screens system(BSPC_PATH, 'node', '-f', 'east'); system(BSPC_PATH, 'node', '-f', 'north'); system(BSPC_PATH, 'node', '-z', 'bottom', '0', '-280'); - system(BSPC_PATH, 'node', '-f', 'north'); system(BSPC_PATH, 'node', '-f', 'west'); return; } @@ -256,6 +254,7 @@ 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); @@ -279,7 +278,6 @@ sub fg_on_one_screen system(BSPC_PATH, 'node', '-z', 'right', '-220', '0'); system(BSPC_PATH, 'node', '-f', 'east'); system(BSPC_PATH, 'node', '-z', 'bottom', '0', '70'); - system(BSPC_PATH, 'node', '-f', 'north'); return; } |