summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-24 10:27:09 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-24 10:27:09 -0700
commit6fbac254f87139173ae5996fa38df448ddeed178 (patch)
tree596f674dcd9343ef96fc4c6ddda8de3be1222b9d
parent0a2b876abaef41c858ba05bc8a5dee3be47d2958 (diff)
Tidy up config
-rwxr-xr-x.config/bspwm/bspwmrc15
-rw-r--r--.config/polybar/main.ini2
-rw-r--r--.config/polybar/second.ini2
-rw-r--r--.config/sxhkd/sxhkdrc6
4 files changed, 17 insertions, 8 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 842152e..7118942 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -4,7 +4,7 @@
# Always running programs.
#
-feh --bg-fill ~/pix/wp/starwars_1.png
+feh --bg-fill ~/pix/wp/dracula_1.png
# Since polybar_panel already manages the starting
# of the actual polybar(s), just check if (any) polybar
# is running, if not, run the specified command to run them.
@@ -52,12 +52,18 @@ bspc config top_padding 34
bspc config bottom_padding 10
bspc config left_padding 10
bspc config right_padding 10
+
bspc config border_width 2
bspc config window_gap 5
+
bspc config split_ratio 0.6
+
bspc config borderless_monocle true
bspc config gapless_monocle true
+# Could try poniter_follows_monitor instead.
+bspc config pointer_follows_focus true
+
# Colors.
# First get all colors.
# COLOR_FOREGROUND=$(xresource foreground)
@@ -72,7 +78,7 @@ COLOR_BLACK_ALT=$(xresource color8)
# COLOR_GREEN_ALT=$(xresource color10)
COLOR_YELLOW=$(xresource color3)
# COLOR_YELLOW_ALT=$(xresource color11)
-# COLOR_BLUE=$(xresource color4)
+COLOR_BLUE=$(xresource color4)
# COLOR_BLUE_ALT=$(xresource color12)
# COLOR_PURPLE=$(xresource color5)
# COLOR_PURPLE_ALT=$(xresource color13)
@@ -82,8 +88,9 @@ COLOR_CYAN=$(xresource color6)
# COLOR_WHITE_ALT=$(xresource color15)
bspc config normal_border_color $COLOR_BLACK_ALT
-bspc config active_border_color $COLOR_YELLOW
-bspc config focused_border_color $COLOR_CYAN
+bspc config active_border_color $COLOR_CYAN
+bspc config focused_border_color $COLOR_BLUE
+bspc config presel_feedback_color $COLOR_BLUE
# Rules.
bspc rule -a *:*:"Picture-in-Picture" state=floating rectangle=640x360+640+360
diff --git a/.config/polybar/main.ini b/.config/polybar/main.ini
index 1523dad..5c7c8f1 100644
--- a/.config/polybar/main.ini
+++ b/.config/polybar/main.ini
@@ -4,7 +4,7 @@ monitor = ${env:MAINMON:HDMI-0}
modules-left=bspwm xwindow
modules-center=
-modules-right=wlan eth xkeyboard cpu memory pulseaudio date powermenu
+modules-right=xkeyboard cpu memory pulseaudio date powermenu
# tray-position = right
# tray-padding = 2
diff --git a/.config/polybar/second.ini b/.config/polybar/second.ini
index 483356c..f072005 100644
--- a/.config/polybar/second.ini
+++ b/.config/polybar/second.ini
@@ -4,7 +4,7 @@ monitor = ${env:SECMON:HDMI-0}
modules-left=bspwm xwindow
modules-center=
-modules-right=date
+modules-right=wlan eth date
tray-position = right
tray-padding = 2
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index daef45c..af7473c 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -35,8 +35,10 @@ super + Delete
#
# Quit/restart bspwm.
-super + shift + {e,r}
- bspc {quit,wm -r}
+# super + shift + {e,r}
+# bspc {quit,wm -r}
+super + shift + r
+ bspc wm -r
# Close and kill.
super + {shift + alt + ,shift + }q