aboutsummaryrefslogtreecommitdiff
path: root/polybar
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-08-28 15:59:25 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-08-28 15:59:25 +0200
commitb63ea7695bf9f7dcf40185d043eba3d67974f7b3 (patch)
treef890ce61de39b5f4436baa562e1ef7920a9e3d70 /polybar
parente26981f69724ef8b31e145dd73d55a035d92abe8 (diff)
downloaddotfiles-b63ea7695bf9f7dcf40185d043eba3d67974f7b3.tar.gz
i3
Diffstat (limited to 'polybar')
-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