Polybar: Unify i3 module

This works around a segfault bug(?) in Polybar
This commit is contained in:
Salt 2018-10-12 01:44:54 -05:00
parent d70aa9643b
commit af87a4535e
4 changed files with 11 additions and 13 deletions

View File

@ -4,7 +4,7 @@ conky.config = {
own_window = true,
own_window_title = 'Conky',
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_type = 'override',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '282828',

View File

@ -1 +1,7 @@
export KDEWM=/usr/bin/bspwm
if [ -r "$HOME/.concession/concede" ]; then
source "$HOME/.concession/concede"
fi
if [ -r "$HOME/.concession/conspiracy" ]; then
$HOME/.concession/conspiracy &
fi
export KDEWM=/usr/bin/i3

View File

@ -89,7 +89,7 @@ border-top-size = 0
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm}
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor i3-mode xbacklight volume date}
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume date}
[bar/primary-2]
monitor = ${env:PB_MONITOR:eDP-1}
@ -255,7 +255,7 @@ exec = hostname
[module/i3]
type = internal/i3
format = <label-state>
format = <label-state> <label-mode>
enable-scroll = false
pin-workspaces = true
@ -277,14 +277,6 @@ label-urgent-padding = ${res/config.padding}
label-urgent-foreground = ${res/colors.alert}
label-urgent-font = 2
[module/i3-mode]
type = internal/i3
format = <label-mode>
format-prefix = "i3: "
format-prefix-foreground = ${res/colors.mod-wm}
# Just in case
enable-scroll = false
label-mode = %mode%
[module/memory]

@ -1 +1 @@
Subproject commit 48761983efe55749e8777957ff819c0432062904
Subproject commit 482622fab8c49ba17b20fc405fed3d1b0fadbe2b