Cleaning up dwm.

This commit is contained in:
Derek Taylor
2020-03-10 19:41:11 -05:00
parent 3ec12d3d38
commit 4978b295b7
6 changed files with 119 additions and 29 deletions

View File

@@ -359,7 +359,6 @@ tray-background = ${colors.background}
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
################################################################################
################################################################################
############ MAINBAR-XMONAD ############
@@ -372,13 +371,13 @@ monitor = ${env:MONITOR}
monitor-strict = false
override-redirect = false
width = 100%
height = 20
height = 30
;offset-x = 1%
;offset-y = 1%
radius = 0.0
fixed-center = true
bottom = false
separator =
separator = |
background = ${colors.background}
foreground = ${colors.foreground}
@@ -393,37 +392,101 @@ line-color = #f00
;border-bottom-size = 25
border-color = #00000000
padding-left = 1
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 0
module-margin-left = 3
module-margin-right = 3
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
;https://github.com/jaagr/polybar/wiki/Fonts
font-0 = "UbuntuMono Nerd Font:size=10;2"
font-1 = "UbuntuMono Nerd Font:size=16;3"
font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1"
font-3 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1"
font-4 = "Font Awesome 5 Brands:pixelsize=8;1"
font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=13;0"
font-2 = "Noto Sans:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-4 = "FontAwesome5Brands:size=13;0"
modules-left = ewmh xwindow
modules-center =
modules-right = arrow1 networkspeedup networkspeeddown arrow2 memory2 arrow3 cpu2 arrow2 pavolume arrow3 arch-aur-updates arrow2 date
modules-left = ewmh title-xmonad
modules-center = kernel
modules-right = pavolume memory2 cpu2 date
tray-detached = false
tray-offset-x = 0
tray-offset-y = 0
tray-position = right
tray-padding = 2
tray-maxsize = 20
tray-scale = 1.0
tray-position = right
tray-background = ${colors.background}
################################################################################
################################################################################
############ MAINBAR-XMONAD-EXTRA ############
################################################################################
################################################################################
[bar/mainbar-xmonad-extra]
monitor = ${env:MONITOR}
;monitor-fallback = HDMI1
monitor-strict = false
override-redirect = false
width = 100%
height = 30
;offset-x = 1%
;offset-y = 1%
radius = 0.0
fixed-center = true
bottom = true
separator = |
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 2
line-color = #f00
;border-size = 2
;border-left-size = 25
;border-right-size = 25
border-top-size = 10
;border-bottom-size = 25
border-color = #00000000
padding-left = 0
padding-right = 1
module-margin-left = 3
module-margin-right = 3
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
;https://github.com/jaagr/polybar/wiki/Fonts
font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=13;0"
font-2 = "Noto Sans:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-4 = "FontAwesome5Brands:size=13;0"
modules-left = load-average
modules-center = networkspeeddown networkspeedup
modules-right = filesystem
;tray-detached = false
;tray-offset-x = 0
;tray-offset-y = 0
;tray-padding = 2
;tray-maxsize = 20
;tray-scale = 1.0
;tray-position = right
;tray-background = ${colors.background}
################################################################################
################################################################################
############ MODULE I3 ############
@@ -1298,6 +1361,14 @@ label =  %output:0:150:%
################################################################################
[module/title-xmonad]
type = custom/script
exec = tail -F /tmp/.xmonad-title-log
exec-if = [ -p /tmp/.xmonad-title-log ]
tail = true
################################################################################
[module/uptime]
;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
type = custom/script
@@ -1433,6 +1504,14 @@ ramp-signal-foreground = #7e52c6
################################################################################
[module/workspaces-xmonad]
type = custom/script
exec = tail -F /tmp/.xmonad-workspace-log
exec-if = [ -p /tmp/.xmonad-workspace-log ]
tail = true
################################################################################
[module/xbacklight]
;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
type = internal/xbacklight