summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2023-01-11 23:08:54 +0100
committerJulian T <julian@jtle.dk>2023-01-11 23:09:50 +0100
commitba30000d850f61f212f92e978c5f69020ca1a03c (patch)
treea2527bac3cf838c5d1791c29272120a0907fba5e
parentee499f810d1be191fd8d969df688164d51ba1167 (diff)
2bwm and polybar mpd
-rw-r--r--2bwm/.xinitrc2
-rw-r--r--2bwm/resc/2bwm/config.h1
-rw-r--r--mixed/.Xresources4
-rw-r--r--polybar/.config/polybar/config9
4 files changed, 12 insertions, 4 deletions
diff --git a/2bwm/.xinitrc b/2bwm/.xinitrc
index dc98620..ea91adb 100644
--- a/2bwm/.xinitrc
+++ b/2bwm/.xinitrc
@@ -1,5 +1,5 @@
-export LOPTS="panel composer gnome-keyring"
+export LOPTS="panel gnome-keyring"
# Launch other stuff
source ~/.xprofile
source ~/Scripts/xlaunchrc
diff --git a/2bwm/resc/2bwm/config.h b/2bwm/resc/2bwm/config.h
index 57b5e7b..ff2a114 100644
--- a/2bwm/resc/2bwm/config.h
+++ b/2bwm/resc/2bwm/config.h
@@ -192,6 +192,7 @@ static key keys[] = {
{ NULL,XF86XK_AudioRaiseVolume,start,{.com = volup}},
{ NULL,XF86XK_AudioMute,start,{.com = volmute}},
{ NULL,XF86XK_AudioPlay,start,{.com = volplay}},
+ { NULL,XK_Pause,start,{.com = volplay}},
{ NULL,XF86XK_AudioNext,start,{.com = volnext}},
{ NULL,XF86XK_AudioPrev,start,{.com = volprev}},
{ NULL,XF86XK_MonBrightnessUp,start,{.com = lightup}},
diff --git a/mixed/.Xresources b/mixed/.Xresources
index 66bd790..08ff579 100644
--- a/mixed/.Xresources
+++ b/mixed/.Xresources
@@ -18,8 +18,8 @@ polybar.secondary: GREEN
polybar.alert: LRED
polybar.disabled: GRAY
-twobwm.border_width: 6
-twobwm.outer_border: 3
+twobwm.border_width: 8
+twobwm.outer_border: 4
twobwm.inverted_colors: false
twobwm.enable_compton: true
twobwm.focus_color: LBLUE
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index 645ee70..5b63e6d 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled}
font-0 = Cozette;2
modules-left = xworkspaces xwindow
-modules-right = pulseaudio battery memory wlan eth date
+modules-right = mpd pulseaudio battery memory wlan eth date
cursor-click = pointer
cursor-scroll = ns-resize
@@ -66,6 +66,13 @@ tray-position = right
; override-redirect = true
+[module/mpd]
+type = internal/mpd
+
+icon-play = "="
+icon-pause = ">"
+format-online = <label-song> <label-time> <toggle>
+
[module/battery]
type = internal/battery
full-at = 99