summaryrefslogtreecommitdiffstats
path: root/.config/bspwm/bspwmrc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-25 18:43:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-25 18:43:47 +0200
commit46488f5b659bc150d8d9fd3568957a54030b52ef (patch)
tree7aa25fc8808edb154b4d18ceeaad1f8f98f76e2c /.config/bspwm/bspwmrc
parentAdded returns (diff)
downloaddotfiles-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 '.config/bspwm/bspwmrc')
-rwxr-xr-x.config/bspwm/bspwmrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 7875a96..4e38a84 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -33,15 +33,15 @@ bspc config gapless_monocle true
bspc config single_monocle true
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
@@ -64,6 +64,7 @@ run dunst > /dev/null 2>&1 &
run lowbat --say "You're low, partner" >/dev/null 2>&1 &
sleep 2
+bspc desktop -f 01
run emacs &
sleep 12
if [ $screens -eq 3 ]; then