modify i3wm config, add more custom stuff to polybar MacAir7,2

This commit is contained in:
toniiz
2024-07-24 23:32:33 -07:00
parent 483f1dc083
commit e28a37efd3
5 changed files with 137 additions and 17 deletions

View File

@@ -21,8 +21,9 @@ white = #FFFFFF
;------------------------------------------------------------------------
[bar/barra1]
[bar/main]
#width = 98.8%
monitor = eDP-1
width = 100%
height = 24pt
radius = 10
@@ -33,7 +34,7 @@ dpi = 95
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 2pt
border-size = 1pt
border-color = ${colors.secondary}
padding-left = 2
padding-right = 2
@@ -43,8 +44,8 @@ separator-foreground = ${colors.white}
font-0 = "Iosevka Nerd Font:style=Medium:size=13;2"
modules-left = i3 Space backlight pulseaudio Space
modules-right = battery memory temp cpu power_menu
modules-left = i3 backlight
modules-right = systray pulseaudio battery memory temp cpu power_menu
modules-center = date
cursor-click = pointer
cursor-scroll = ns-resize
@@ -54,6 +55,11 @@ override-redirect = false
;------------------------------------------------------------------------
[module/systray]
type = internal/tray
format-margin = 8pt
tray-spacing = 6pt
[module/i3]
type = internal/i3
show-urgent = true
@@ -62,14 +68,16 @@ enable-click = true
fuzzy-match = true
pin-workspaces = true
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-0 = 1;1
ws-icon-1 = 2;2
ws-icon-2 = 3;3
ws-icon-3 = 4;4
ws-icon-4 = 5;5
ws-icon-5 = 6;6
ws-icon-6 = 7;7
ws-icon-7 = 8;8
ws-icon-8 = 9;9
ws-icon-9 = 10;10
format = <label-state> <label-mode>
label-mode = %mode%

View File

@@ -8,7 +8,7 @@ polybar-msg cmd quit
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log # /tmp/polybar2.log
polybar barra1 2>&1 | tee -a /tmp/polybar1.log & disown
# polybar bar2 2>&1 | tee -a /tmp/polybar2.log & disown
polybar main 2>&1 | tee -a /tmp/polybar1.log & disown
#polybar secondary 2>&1 | tee -a /tmp/polybar2.log & disown
echo "Bars launched..."
#echo "Bars launched..."