diff --git a/config b/config index dae11df..3c96cda 100644 --- a/config +++ b/config @@ -34,15 +34,12 @@ fixed-center = true background = ${colors.semi-trans} foreground = ${colors.fg} -module-margin-right = 1 - font-0 = "SauceCodePro Nerd Font:style=Medium:size=9;2" font-1 = "FontAwesome:size=10;2" font-2 = "FontAwesome:size=12;3" -font-3 = "FontAwesome:size=14;3" modules-left = launcher window filemanager google-chrome firefox steam code i3 -modules-right = memory cpu xbacklight pulseaudio wlan battery temperature date session +modules-right = separator memory cpu xbacklight pulseaudio wlan battery temperature date session tray-position = right tray-maxsize = 16 @@ -52,4 +49,4 @@ cursor-click = pointer cursor-scroll = ns-resize [settings] -screenchange-reload = true +screenchange-reload = true \ No newline at end of file diff --git a/launch.sh b/launch.sh index 0c23ae7..f5490c2 100755 --- a/launch.sh +++ b/launch.sh @@ -7,4 +7,4 @@ killall polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch polybar -polybar main -c /home/$USER/.config/polybar/config & +polybar main -c /home/$USER/.config/polybar/config & \ No newline at end of file diff --git a/modules/battery b/modules/battery index ff2a085..c8dcd84 100644 --- a/modules/battery +++ b/modules/battery @@ -4,7 +4,7 @@ battery = BAT1 adapter = ACAD full-at = 98 -format-charging = +format-charging = format-charging-background = ${colors.label} format-charging-foreground = ${colors.white} label-charging = " %percentage%% " @@ -31,7 +31,18 @@ ramp-capacity-1 = %{T2}%{T-} ramp-capacity-2 = %{T2}%{T-} ramp-capacity-3 = %{T2}%{T-} ramp-capacity-4 = %{T2}%{T-} -;ramp-capacity-5 = %{T2}%{T-} +ramp-capacity-5 = %{T2}%{T-} ramp-capacity-background = ${colors.prefix} ramp-capacity-foreground = ${colors.white} -ramp-capacity-padding = 1 \ No newline at end of file +ramp-capacity-padding = 1 + +animation-charging-0 = %{T2}%{T-} +animation-charging-1 = %{T2}%{T-} +animation-charging-2 = %{T2}%{T-} +animation-charging-3 = %{T2}%{T-} +animation-charging-4 = %{T2}%{T-} +animation-charging-5 = %{T2}%{T-} +animation-charging-background = ${colors.prefix} +animation-charging-foreground = ${colors.white} +animation-charging-framerate = 900 +animation-charging-padding = 1 \ No newline at end of file diff --git a/modules/code b/modules/code index a8229d5..bca604b 100644 --- a/modules/code +++ b/modules/code @@ -1,6 +1,7 @@ [module/code] type = custom/script -click-left = code + +click-left = code& exec = echo %{T3}%{T-} format-foreground = ${colors.code} format-padding = 1 \ No newline at end of file diff --git a/modules/filemanager b/modules/filemanager index 4b8a3bc..6df8fbe 100644 --- a/modules/filemanager +++ b/modules/filemanager @@ -1,6 +1,7 @@ [module/filemanager] type = custom/script -click-left = xdg-open ~/ + +click-left = xdg-open ~/& exec = echo %{T3}%{T-} format-foreground = ${colors.filemanager} -format-padding = 1 \ No newline at end of file +format-padding = 1 diff --git a/modules/firefox b/modules/firefox index 61818db..3e423f5 100644 --- a/modules/firefox +++ b/modules/firefox @@ -1,5 +1,6 @@ [module/firefox] type = custom/script + click-left = firefox --browser& click-middle = killall firefox& click-right = firefox --private-window& diff --git a/modules/google-chrome b/modules/google-chrome index bf9c297..ec8fc31 100644 --- a/modules/google-chrome +++ b/modules/google-chrome @@ -1,8 +1,9 @@ [module/google-chrome] type = custom/script + click-left = google-chrome --new-window& click-middle = killall chrome& click-right = google-chrome --incognito& exec = echo %{T3}%{T-} format-foreground = ${colors.google-chrome} -format-padding = 1 +format-padding = 1 \ No newline at end of file diff --git a/modules/launcher b/modules/launcher index 7d80b98..6f6f64d 100644 --- a/modules/launcher +++ b/modules/launcher @@ -1,5 +1,6 @@ [module/launcher] type = custom/script + click-left = rofi -show drun click-right = rofi -show run exec = echo %{T3}%{T-} diff --git a/modules/lockscreen b/modules/lockscreen index a913d00..a4e8b8c 100644 --- a/modules/lockscreen +++ b/modules/lockscreen @@ -1,5 +1,6 @@ [module/lockscreen] type = custom/script + click-left = i3lock -n -c 03101C -e -f exec = echo %{T3}%{T-} format-foreground = ${colors.white} diff --git a/modules/session b/modules/session index a245f83..1f4b933 100644 --- a/modules/session +++ b/modules/session @@ -1,5 +1,6 @@ [module/session] type = custom/script + click-left = obsession-logout -p "" exec = echo %{T2}%{T-} format-background = ${colors.prefix} diff --git a/modules/steam b/modules/steam index 2279ff4..7ecbc4e 100644 --- a/modules/steam +++ b/modules/steam @@ -1,5 +1,6 @@ [module/steam] type = custom/script + click-left = steam& click-middle = killall steam& exec = echo %{T3}%{T-} diff --git a/modules/terminal b/modules/terminal index e0bf131..0a5ef8e 100644 --- a/modules/terminal +++ b/modules/terminal @@ -1,5 +1,6 @@ [module/terminal] type = custom/script + click-left = x-terminal-emulator exec = echo %{T3}%{T-} format-foreground = ${colors.terminal}