Commit b7ac8d4b authored by Naoki OKAMURA's avatar Naoki OKAMURA

improved: modification of topbar by polybar

parent 80878e3c
......@@ -51,7 +51,8 @@ offset-y = 0
width = 3840
height = 48
font-0 = "Monospace:size=24;3"
font-0 = "MyricaM M:size=24;3"
font-1 = "Symbols Nerd Font:size=24;3"
background = #81191919
foreground = #F0F9F9
......@@ -61,9 +62,8 @@ border-size = 0
module-margin-left = 1
modules-left = userhost title
modules-center = bspwm
modules-right = datetime cpu memory volume network battery spacer
modules-right = datetime cpu memory volume network battery
tray-detached = true
tray-position = right
tray-maxsize = 32
tray-scale = 1.0
......@@ -71,10 +71,6 @@ tray-scale = 1.0
line-size = 3
line-color = ${colors.gray-brighter}
[module/spacer]
type = custom/text
content = " "
[module/bspwm]
type = internal/bspwm
enable-click = true
......@@ -106,11 +102,11 @@ sink = alsa_output.pci-0000_00_1f.3.analog-stereo
use-ui-max = false
interval = 1
format-volume = %{A2:polybar-pulseaudio-volume.sh 2 &:}%{A3:pavucontrol &:}<ramp-volume><label-volume>%{A}%{A}
format-volume = %{A2:polybar-pulseaudio-volume.sh 2 &:}%{A3:pavucontrol &:}<ramp-volume> <label-volume>%{A}%{A}
format-mute = %{A2:polybar-pulseaudio-volume.sh 2 &:}%{A3:pavucontrol &:}<label-mute>%{A}{A}
label-volume = %percentage%%
label-muted = %{F#FF6633}%{F-}---
label-muted = %{F#FF6633}%{F-} ---
ramp-volume-0 = %{F#00CCFF}%{F-}
ramp-volume-1 = %{F#CCFF00}%{F-}
......@@ -123,9 +119,9 @@ adapter = AC
time-format = %H:%M
format-charging = "%{F#FFCC00}%{F-}%percentage%% <ramp-capacity>"
format-discharging = "%{F#CCCCCD}%{F-}%percentage% <ramp-capacity>"
format-full = "%{F#CCFF00}%{F-}100% <ramp-capacity>"
format-charging = "%{F#FFCC00}%{F-} %percentage%% <ramp-capacity>"
format-discharging = "%{F#CCCCCD}%{F-} %percentage% <ramp-capacity>"
format-full = "%{F#CCFF00}%{F-} 100% <ramp-capacity>"
ramp-capacity-0 = %{F#FF0000}%{F-}
ramp-capacity-1 = %{F#FF6633}%{F-}
......@@ -136,8 +132,8 @@ ramp-capacity-4 = %{F#CCFF00}%{F-}
[module/network]
type = internal/network
interface = wlp2s0
format-connected = %{F#9CD9F0}%{F-}<label-connected>
format-disconnetted = %{F#5D5D5D}%{F-}<label-disconnected>
format-connected = %{F#9CD9F0}%{F-} <label-connected>
format-disconnetted = %{F#5D5D5D}%{F-} <label-disconnected>
label-connected = %essid%
label-disconnected = none
......@@ -148,7 +144,7 @@ interval = 1.0
date = %Y-%m-%d
time = %H:%M:%S (%a)
format = %{F#00CCCC}%{F-}<label>
format = %{F#00CCCC}%{F-} <label>
label = %{A1:polybar-datetime-clipboard.sh &:}%date%T%time%%{A}
......@@ -173,6 +169,6 @@ ramp-load-7 = %{F#C75646}█%{F-}
[module/memory]
type = internal/memory
format = %{F#5D5D5D}%{F-}<label>
format = %{F#5D5D5D}%{F-} <label>
label = %gb_used:0:4%GB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment