diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-25 18:43:47 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-25 18:43:47 +0200 |
commit | 46488f5b659bc150d8d9fd3568957a54030b52ef (patch) | |
tree | 7aa25fc8808edb154b4d18ceeaad1f8f98f76e2c /.config/bspwm/README.org | |
parent | Added returns (diff) | |
download | dotfiles-bsd-46488f5b659bc150d8d9fd3568957a54030b52ef.tar.gz dotfiles-bsd-46488f5b659bc150d8d9fd3568957a54030b52ef.tar.bz2 dotfiles-bsd-46488f5b659bc150d8d9fd3568957a54030b52ef.tar.xz dotfiles-bsd-46488f5b659bc150d8d9fd3568957a54030b52ef.tar.zst dotfiles-bsd-46488f5b659bc150d8d9fd3568957a54030b52ef.zip |
Changed Emacs to daemon mode, setting editors accordingly
Diffstat (limited to '')
-rw-r--r-- | .config/bspwm/README.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/bspwm/README.org b/.config/bspwm/README.org index b22d2d8..86cd706 100644 --- a/.config/bspwm/README.org +++ b/.config/bspwm/README.org @@ -21,7 +21,6 @@ You can get ~bspwm~ here: [[https://github.com/baskerville/bspwm][bspwm]]. - * Restart safety ** No-rerun function The following function helps me not restart a specific program in case it is already running, @@ -77,15 +76,15 @@ bspc config single_monocle true * Applications workspaces assignations #+BEGIN_SRC shell if [ $screens -eq 3 ]; then - bspc rule -a Emacs desktop=01 follow=true + bspc rule -a Emacs state=tiled bspc rule -a Firefox desktop=08 follow=true bspc rule -a Wine desktop=07 state=floating elif [ $screens -eq 2 ]; then - bspc rule -a Emacs desktop=01 follow=true + bspc rule -a Emacs state=tiled bspc rule -a Firefox desktop=08 follow=true bspc rule -a Wine desktop=07 state=floating elif [ $screens -eq 1 ]; then - bspc rule -a Emacs desktop=01 follow=true + bspc rule -a Emacs state=tiled bspc rule -a Firefox desktop=08 follow=true bspc rule -a Wine desktop=04 state=floating fi @@ -115,6 +114,7 @@ sleep 2 ** Foreground applications #+BEGIN_SRC shell +bspc desktop -f 01 run emacs & sleep 12 if [ $screens -eq 3 ]; then |