Skip to content

Commit

Permalink
Update i3 and polybar configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Mar 24, 2024
1 parent 0997332 commit b419594
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 22 deletions.
8 changes: 5 additions & 3 deletions home/dot_config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,11 @@ smart_borders no_gaps
# gaps
gaps inner 12
# gaps outer 62
gaps outer 12
# gaps left 12
# gaps right 12
# gaps outer 12
gaps top 60
gaps right 18
gaps bottom 37
gaps left 18

new_window normal
new_float normal
Expand Down
12 changes: 7 additions & 5 deletions home/dot_config/polybar/bars/common-bottom.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fixed-center = true
; Individual values can be defined using:
; {overline,underline}-size
; {overline,underline}-color
line-size = 3
line-size = 2
line-color = #f00

; Values applied to all borders
Expand All @@ -34,7 +34,7 @@ line-color = #f00
; border-size supports any percentage with offset.
; For border-{left,right}-size, the percentage is relative to the monitor width
; and for border-{top,bottom}-size, it is relative to the monitor height.
border-color = ${colors.foreground}
border-color = ${colors.background}
border-top-size = 0
border-bottom-size = 0
border-right-size = 0
Expand All @@ -50,8 +50,8 @@ padding-right = 2
; Margin (number of spaces, pixels, or points) to add before/after each module
; Individual side values can be defined using:
; module-margin-{left,right}
module-margin-left = 2
module-margin-right = 2
module-margin-left = 0
module-margin-right = 0

; Fonts are defined using <font-name>;<vertical-offset>
; Font names are specified using a fontconfig pattern.
Expand Down Expand Up @@ -87,6 +87,8 @@ radius = 0

modules-left = workspaces-with-icons
modules-center = playing
modules-right = keyboard filesystem memory cpu temperature
modules-right = keyboard sep filesystem sep memory sep cpu sep temperature

override-redirect = false

enable-ipc = true
28 changes: 14 additions & 14 deletions home/dot_config/polybar/bars/common-top.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fixed-center = true
; Individual values can be defined using:
; {overline,underline}-size
; {overline,underline}-color
line-size = 3
line-size = 2
line-color = #f00

; Values applied to all borders
Expand All @@ -34,24 +34,23 @@ line-color = #f00
; border-size supports any percentage with offset.
; For border-{left,right}-size, the percentage is relative to the monitor width
; and for border-{top,bottom}-size, it is relative to the monitor height.
border-color = #00000000
border-top-size = 10
border-bottom-size = 5
border-right-size = 10
border-left-size = 10
border-color = ${colors.background}
border-top-size = 8
border-bottom-size = 8
border-right-size = 8
border-left-size = 8

; Padding (number of spaces, pixels, or points) to add at the beginning/end of
; the bar
; Individual side values can be defined using:
; padding-{left,right}
padding-left = 2
padding-right = 2
padding = 1

; Margin (number of spaces, pixels, or points) to add before/after each module
; Individual side values can be defined using:
; module-margin-{left,right}
module-margin-left = 2
module-margin-right = 2
module-margin-left = 0
module-margin-right = 0

; Fonts are defined using <font-name>;<vertical-offset>
; Font names are specified using a fontconfig pattern.
Expand All @@ -64,6 +63,7 @@ font-0 = "monospace:size=10;0"
font-1 = "Hack Nerd Font Mono:style=Solid:pixelsize=15;2"
font-2 = "Hack Nerd Font Mono:style=Regular:pixelsize=15;2"
font-3 = "Hack Nerd Font Mono:pixelsize=15;2"
font-4 = "Hack Nerd Font Mono:style=Solid:pixelsize=18.35;4"

; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
Expand All @@ -74,17 +74,17 @@ cursor-click = pointer
cursor-scroll = ns-resize

width = 100%
height = 40
height = 25

background = ${colors.background}
background-alt = ${colors.background-alt}
foreground = ${colors.foreground}
foreground-alt = ${colors.foreground-alt}

radius = 16
radius = 0

modules-left = jgmenu apps window_switch pulseaudio-microphone pulseaudio-bar backlight-acpi-bar
modules-left = jgmenu sep apps sep window_switch sep pulseaudio-microphone sep pulseaudio-bar sep backlight-acpi-bar
modules-center = date-popup
modules-right = night-mode feh-blur-toggle github tray
modules-right = night-mode sep feh-blur-toggle sep github sep tray

override-redirect = false

0 comments on commit b419594

Please sign in to comment.