summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-25 21:52:30 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-25 21:52:30 -0700
commit9d44898fb3c2dbac189f5fa7b9b1d789937f348c (patch)
tree466b238e00d16c12f50ccac4a21d693eb1961fd9 /.config
parent01aae48c384f4b07c2f204bff81ba2398cbd3065 (diff)
Better "now playing" module
Diffstat (limited to '.config')
-rwxr-xr-x.config/bspwm/bspwmrc1
-rw-r--r--.config/polybar/config1
-rw-r--r--.config/polybar/main.ini2
-rw-r--r--.config/sxhkd/sxhkdrc2
4 files changed, 4 insertions, 2 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 87dd58c..05da177 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -95,6 +95,7 @@ bspc config presel_feedback_color $COLOR_BLUE
# Rules.
bspc rule -a *:*:"Picture-in-Picture" state=floating rectangle=640x360+640+360
+bspc rule -a Peek:*:* state=floating
# bspc rule -a Gimp desktop='^8' state=floating follow=on
# bspc rule -a Chromium desktop='^2'
# bspc rule -a mplayer2 state=floating
diff --git a/.config/polybar/config b/.config/polybar/config
index 334bd3c..65d0cdc 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -33,6 +33,7 @@ include-file = $XDG_CONFIG_HOME/polybar/eth.ini
include-file = $XDG_CONFIG_HOME/polybar/wlan.ini
include-file = $XDG_CONFIG_HOME/polybar/dunst.ini
include-file = $XDG_CONFIG_HOME/polybar/player_mpris.ini
+include-file = $XDG_CONFIG_HOME/polybar/player_mpris_zscroll.ini
# Other modules that came by default on the example config.
# The ones that I configured are on separate ini files.
diff --git a/.config/polybar/main.ini b/.config/polybar/main.ini
index d66ffb8..752d2ff 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=player_mpris xkeyboard cpu memory pulseaudio date dunst powermenu
+modules-right=player_mpris_zscroll xkeyboard cpu memory pulseaudio date dunst powermenu
# tray-position = right
# tray-padding = 2
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 044ce1d..987bb60 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -7,7 +7,7 @@ super + Return
$TERMINAL
# Read after releasing 'd' because as soon
# as dmenu runs it listens for kb presses.
-super + @d
+super + d
dmenu_run -fn "Noto Sans Mono:size=12" -nb "$(xresource background)" -nf "$(xresource foreground)" -sb "$(xresource color4)" -sf "$(xresource color0)"
super + Escape
pkill -USR1 -x sxhkd