summaryrefslogtreecommitdiffstats
path: root/bspwm
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2017-02-04 22:15:00 -0500
committerAmin Bandali <amin@aminb.org>2017-02-04 22:23:47 -0500
commit23a1f61aaf2144d071025e6e6b618007df648296 (patch)
treeceb694b8bbd87c17c31151bf5540d1eeaafb454e /bspwm
parent45c2290600a542c9c5dbda4a8d4d07d6f2a6c134 (diff)
downloadconfigs-23a1f61aaf2144d071025e6e6b618007df648296.tar.gz
configs-23a1f61aaf2144d071025e6e6b618007df648296.tar.xz
configs-23a1f61aaf2144d071025e6e6b618007df648296.zip
bspwm and sxhkd config updates
Diffstat (limited to '')
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc14
-rwxr-xr-xbspwm/.local/bin/toggle_tray16
2 files changed, 11 insertions, 19 deletions
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc
index 6601cf8..c7ffee5 100755
--- a/bspwm/.config/bspwm/bspwmrc
+++ b/bspwm/.config/bspwm/bspwmrc
@@ -1,11 +1,16 @@
#! /bin/sh
sxhkd &
+# sleep .25
+xfce4-panel -d &
+connman-gtk &
+pnmixer &
+sh ~/.fehbg &
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config border_width 2
-bspc config window_gap 12
+bspc config window_gap 10
#bspc config bottom_padding 32
# bspc config split_ratio 0.52
@@ -16,6 +21,9 @@ bspc config gapless_monocle true
bspc rule -a Firefox desktop='^1' follow=on
bspc rule -a Emacs desktop='^2' state=tiled follow=on
bspc rule -a Chromium desktop='^4' follow=on
-bspc rule -a Termite state=floating
bspc rule -a URxvt state=floating
-bspc rule -a qterminal state=floating
+bspc rule -a URxvt:tiled state=tiled
+bspc rule -a Connman-gtk state=floating
+bspc rule -a Xfce4-panel state=floating
+bspc rule -a TelegramDesktop state=floating
+bspc rule -a Ec state=floating
diff --git a/bspwm/.local/bin/toggle_tray b/bspwm/.local/bin/toggle_tray
deleted file mode 100755
index c081995..0000000
--- a/bspwm/.local/bin/toggle_tray
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-# from https://github.com/kallith/Dotfiles
-
-if [ $(pgrep -cf stalonetray) -gt 0 ]; then
- wid=$(xdotool search --class stalonetray)
- if [ "$(xdotool search --onlyvisible --class stalonetray)" != "" ]; then
- xdotool windowunmap $wid
- else
- xdotool windowmap $wid
- xdotool windowraise $wid
- fi
-else
- xdotool search --class stalonetray
- stalonetray
-fi