aboutsummaryrefslogtreecommitdiff
path: root/polybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/config')
-rw-r--r--polybar/config42
1 files changed, 7 insertions, 35 deletions
diff --git a/polybar/config b/polybar/config
index 1a2e40a..4738747 100644
--- a/polybar/config
+++ b/polybar/config
@@ -36,7 +36,7 @@ font-2 = siji:pixelsize=10;1
modules-left = xwindow date powermenu
modules-center = i3
-modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature
+modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature xkeyboard
separator = |
@@ -106,19 +106,7 @@ label-empty-minlen = ${self.label-minlen}
[module/xkeyboard]
type = internal/xkeyboard
-blacklist-0 = num lock
-
-format-prefix = " "
-format-prefix-foreground = ${colors.foreground-alt}
-format-prefix-underline = ${colors.secondary}
-
label-layout = %layout%
-label-layout-underline = ${colors.secondary}
-
-label-indicator-padding = 2
-label-indicator-margin = 1
-label-indicator-background = ${colors.secondary}
-label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
@@ -127,8 +115,6 @@ interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
-label-unmounted = %mountpoint% not mounted
-label-unmounted-foreground = ${colors.foreground-alt}
[module/i3]
type = internal/i3
@@ -167,21 +153,7 @@ label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
; Separator in between workspaces
- label-separator = |
-
-
-[module/mpd]
-type = internal/mpd
-format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
-
-icon-prev = 
-icon-stop = 
-icon-play = 
-icon-pause = 
-icon-next = 
-
-label-song-maxlen = 25
-label-song-ellipsis = true
+; label-separator = |
[module/xbacklight]
type = internal/xbacklight
@@ -385,18 +357,18 @@ label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
-menu-0-0 = reboot
+menu-0-0 = exit i3
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
-menu-1-1 = reboot
-menu-1-1-exec = sudo reboot
+menu-1-1 = exit
+menu-1-1-exec = i3-msg exit
-menu-2-0 = power off
-menu-2-0-exec = sudo poweroff
+menu-2-0 = shutdown
+menu-2-0-exec = shutdown now
menu-2-1 = cancel
menu-2-1-exec = menu-open-0