summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-22 14:09:27 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-22 14:09:27 -0700
commit06b9850be0c429161b741c01100f948b9e638dce (patch)
tree59d2f7facb3e3af177c6244b6d0d7f9400cae3fe /.config
parent20a112ca924e00cb328a01e643a7d806db1f1782 (diff)
Add new modules
Diffstat (limited to '.config')
-rwxr-xr-x.config/bspwm/bspwmrc2
-rw-r--r--.config/polybar/config18
-rw-r--r--.config/polybar/cpu.ini34
-rw-r--r--.config/polybar/date.ini4
-rw-r--r--.config/polybar/main.ini2
-rw-r--r--.config/polybar/ram.ini71
6 files changed, 111 insertions, 20 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 461993a..842152e 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -54,7 +54,7 @@ bspc config left_padding 10
bspc config right_padding 10
bspc config border_width 2
bspc config window_gap 5
-bspc config split_ratio 0.52
+bspc config split_ratio 0.6
bspc config borderless_monocle true
bspc config gapless_monocle true
diff --git a/.config/polybar/config b/.config/polybar/config
index 04fa578..2833c9c 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -44,6 +44,8 @@ include-file = /home/lz/.config/polybar/xwindow.ini
include-file = /home/lz/.config/polybar/pulseaudio.ini
include-file = /home/lz/.config/polybar/date.ini
include-file = /home/lz/.config/polybar/powermenu.ini
+include-file = /home/lz/.config/polybar/cpu.ini
+include-file = /home/lz/.config/polybar/ram.ini
# [module/xkeyboard]
# type = internal/xkeyboard
@@ -84,22 +86,6 @@ include-file = /home/lz/.config/polybar/powermenu.ini
# label-song-maxlen = 25
# label-song-ellipsis = true
-# [module/cpu]
-# type = internal/cpu
-# interval = 2
-# format-prefix = " "
-# format-prefix-foreground = ${colors.foreground-alt}
-# format-underline = #f90000
-# label = %percentage:2%%
-
-# [module/memory]
-# type = internal/memory
-# interval = 2
-# format-prefix = " "
-# format-prefix-foreground = ${colors.foreground-alt}
-# format-underline = #4bffdc
-# label = %percentage_used%%
-
# [module/wlan]
# type = internal/network
# interface = wlp6s0
diff --git a/.config/polybar/cpu.ini b/.config/polybar/cpu.ini
new file mode 100644
index 0000000..cd1b977
--- /dev/null
+++ b/.config/polybar/cpu.ini
@@ -0,0 +1,34 @@
+[module/cpu]
+type = internal/cpu
+
+# Seconds to sleep between updates
+# Default: 1
+interval = 2
+
+# Available tags:
+# <label> (default)
+# <bar-load>
+# <ramp-load>
+# <ramp-coreload>
+format-prefix = " "
+format = <label>
+# format-prefix-foreground = ${colors.foreground-alt}
+format-underline = ${colors.purple}
+
+# Available tokens:
+# %percentage% (default) - total cpu load averaged over all cores
+# %percentage-sum% - Cumulative load on all cores
+# %percentage-cores% - load percentage for each core
+# %percentage-core[1-9]% - load percentage for specific core
+label = %percentage:2%%
+
+# Spacing between individual per-core ramps
+ramp-coreload-spacing = 1
+ramp-coreload-0 = ▁
+ramp-coreload-1 = ▂
+ramp-coreload-2 = ▃
+ramp-coreload-3 = ▄
+ramp-coreload-4 = ▅
+ramp-coreload-5 = ▆
+ramp-coreload-6 = ▇
+ramp-coreload-7 = █
diff --git a/.config/polybar/date.ini b/.config/polybar/date.ini
index 4385072..69b520c 100644
--- a/.config/polybar/date.ini
+++ b/.config/polybar/date.ini
@@ -20,9 +20,9 @@ time-alt = %H:%M:%S
# Available tags:
# <label> (default)
-# format-prefix = 
+format-prefix = " "
# format-prefix-foreground = ${colors.foreground-alt}
-format =  <label>
+format = <label>
# format-background = #55ff3399
# format-foreground = #fff
format-underline = ${colors.cyan}
diff --git a/.config/polybar/main.ini b/.config/polybar/main.ini
index a30f346..66a9342 100644
--- a/.config/polybar/main.ini
+++ b/.config/polybar/main.ini
@@ -4,7 +4,7 @@ monitor = ${env:MAINMON:HDMI-0}
modules-left=bspwm
modules-center=xwindow
-modules-right=date pulseaudio powermenu
+modules-right=cpu ram pulseaudio date powermenu
tray-position = right
tray-padding = 2
diff --git a/.config/polybar/ram.ini b/.config/polybar/ram.ini
new file mode 100644
index 0000000..407da7f
--- /dev/null
+++ b/.config/polybar/ram.ini
@@ -0,0 +1,71 @@
+[module/ram]
+type = internal/memory
+
+# Seconds to sleep between updates
+# Default: 1
+interval = 2
+
+# Available tags:
+# <label> (default)
+# <bar-used>
+# <bar-free>
+# <ramp-used>
+# <ramp-free>
+# <bar-swap-used>
+# <bar-swap-free>
+# <ramp-swap-used>
+# <ramp-swap-free>
+format-prefix = " "
+format = <label>
+# format-prefix-foreground = ${colors.foreground-alt}
+format-underline = ${colors.cyan}
+
+# Available tokens:
+# %percentage_used% (default)
+# %percentage_free%
+# %gb_used%
+# %gb_free%
+# %gb_total%
+# %mb_used%
+# %mb_free%
+# %mb_total%
+# %percentage_swap_used%
+# %percentage_swap_free%
+# %mb_swap_total%
+# %mb_swap_free%
+# %mb_swap_used%
+# %gb_swap_total%
+# %gb_swap_free%
+# %gb_swap_used%
+label = %percentage_used:2%%
+
+# Only applies if <bar-used> is used
+bar-used-indicator =
+bar-used-width = 20
+bar-used-foreground-0 = ${colors.green}
+bar-used-foreground-1 = ${colors.green}
+bar-used-foreground-2 = ${colors.yellow}
+bar-used-foreground-3 = ${colors.red}
+bar-used-fill = ▐
+bar-used-empty = ▐
+bar-used-empty-foreground = ${colors.black-alt}
+
+# Only applies if <ramp-used> is used
+ramp-used-0 = ▁
+ramp-used-1 = ▂
+ramp-used-2 = ▃
+ramp-used-3 = ▄
+ramp-used-4 = ▅
+ramp-used-5 = ▆
+ramp-used-6 = ▇
+ramp-used-7 = █
+
+# Only applies if <ramp-free> is used
+ramp-free-0 = ▁
+ramp-free-1 = ▂
+ramp-free-2 = ▃
+ramp-free-3 = ▄
+ramp-free-4 = ▅
+ramp-free-5 = ▆
+ramp-free-6 = ▇
+ramp-free-7 = █