summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/bgbin6977835 -> 1170451 bytes
-rwxr-xr-xconfig/bspwm/bspwmrc27
-rw-r--r--config/mpd/mpd.conf26
-rwxr-xr-xconfig/polybar/launch.sh15
-rw-r--r--config/sxhkd/sxhkdrc14
5 files changed, 60 insertions, 22 deletions
diff --git a/config/bg b/config/bg
index 2417a7a..26e454c 100644
--- a/config/bg
+++ b/config/bg
Binary files differ
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index 7fa53fa..febf406 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -1,13 +1,34 @@
#!/bin/sh
+setup=1
+
COLOR_BACKGROUND="#151515"
COLOR_PRIMARY="#f58f44"
COLOR_SECONDARY="#5977b3"
xsetroot -cursor_name left_ptr &
xrdb ~/.Xdefaults
-
-bspc monitor -d a1 a2 a3 a4 a5 a6 a7 a8 a9
+bash $HOME/.config/xrandr.xi.sh
+
+if [ "$setup" = "0" ]; then
+ bspc monitor DP-0 -n A
+ bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9
+ bspc monitor DP-3 -n B
+ bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9
+ bspc monitor DP-4 -n C
+ bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9
+ bspc monitor HDMI-0 -n D
+ bspc monitor D -d d1 d2
+else
+ bspc monitor DP-3 -n A
+ bspc monitor A -d a1 a2 a3 a4 a5 a6 a7 a8 a9
+ bspc monitor DP-1 -n B
+ bspc monitor B -d b1 b2 b3 b4 b5 b6 b7 b8 b9
+ bspc monitor DP-2 -n C
+ bspc monitor C -d c1 c2 c3 c4 c5 c6 c7 c8 c9
+ bspc monitor HDMI-1 -n D
+ bspc monitor D -d d1 d2
+fi
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
@@ -28,4 +49,4 @@ wmname bspwm
urxvt &
-$HOME/.scripts/start-mpd
+sleep 1; $HOME/.scripts/start-mpd
diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf
index 13afec6..b086d5e 100644
--- a/config/mpd/mpd.conf
+++ b/config/mpd/mpd.conf
@@ -3,15 +3,15 @@ input {
plugin "curl"
}
-#audio_output {
-# type "httpd"
-# name "My HTTP Stream"
-# encoder "lame" # optional, vorbis or lame
-# port "6680"
-# bitrate "420"
-# format "44100:16:1"
-# max_clients "0"
-#}
+audio_output {
+ type "httpd"
+ name "My HTTP Stream"
+ encoder "lame" # optional, vorbis or lame
+ port "6680"
+ bitrate "420"
+ format "44100:16:1"
+ max_clients "0"
+}
audio_output {
type "pulse"
@@ -20,10 +20,10 @@ audio_output {
audio_output {
type "fifo"
- name "Visualizer feed"
- path "/tmp/mpd.fifo"
- format "44100:16:2"
-}
+ name "Visualizer feed"
+ path "/tmp/mpd.fifo"
+ format "44100:16:2"
+}
db_file "~/.config/mpd/database"
log_file "syslog"
diff --git a/config/polybar/launch.sh b/config/polybar/launch.sh
index ca8d77e..01e4b17 100755
--- a/config/polybar/launch.sh
+++ b/config/polybar/launch.sh
@@ -6,4 +6,19 @@ killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 0.1; done
+# Launch Polybar, using default config location ~/.config/polybar/config
+#polybar music &
+
+#MONITOR=DP-0 polybar --reload wsonly &
+
+export MONITOR=DP-1
+polybar wsonly &
+
+export MONITOR=DP-2
+polybar wsonly &
+
+export MONITOR=HDMI-1
+polybar wsonly &
+
+export MONITOR=DP-3
polybar ws &
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index 80feba1..7f87bbd 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -17,7 +17,6 @@ super + ctrl + alt + f
{XF86AudioMute}
amixer -D pulse set Master 1+ toggle
-# runner
super + r
rofi -show drun -show-icons
@@ -220,15 +219,18 @@ super + {_,shift +}w
# float the window
super + f
- if [ -z "$(bspc query -N -n focused.floating)" ]; then \
- bspc node focused -t floating; \
- else \
- bspc node focused -t tiled; \
- fi
+ [ -z "$(bspc query -N -n focused.floating)" ] && \
+ bspc node focused -t floating || \
+ bspc node focused -t tiled;
super + ctrl + f
bspc node -t \~fullscreen
+# pseudotile
+super + p
+ bspc node focused -t pseudo_tiled
+
+
#
# focus/swap
#