From 8bd41e9003ec6997c64a1362f0adf77db8bac169 Mon Sep 17 00:00:00 2001 From: Penguin Date: Sun, 23 Jul 2023 10:32:07 -0500 Subject: [PATCH] update polybar --- .config/i3/config | 2 ++ .config/polybar/config.ini | 44 ++++++++++++++++++++------------------ README.md | 22 +++++++++++++++++++ 3 files changed, 47 insertions(+), 21 deletions(-) create mode 100644 README.md diff --git a/.config/i3/config b/.config/i3/config index 6827e94..73ec905 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -193,6 +193,8 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 # assign [class="Pale moon"] $ws2 # assign [class="Pcmanfm"] $ws3 # assign [class="Skype"] $ws5 +assign [class="teams-for-linux"] $ws8 +assign [class="Alacritty"] $ws5 # Open specific applications in floating mode # for_window [title="alsamixer"] floating enable border pixel 1 diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 622f5e2..02b6f24 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -17,7 +17,7 @@ yellow = #f6c177 purple = #c4a7e7 background = #171924 foreground = #e0def4 -background-alt = #26233a +background-alt = #453f69 background-alt2 = #1c1e2b foreground-alt = #6e6a86 ############################################# @@ -33,7 +33,7 @@ height = 25pt monitor = ${env:MONITOR:} line-size = 4pt enable-ipc = true -border-size = 4pt +border-size = 2pt padding-right = 1 module-margin = 1 padding-left = 1 @@ -55,7 +55,7 @@ font-N = ; ############################################# modules-center = title modules-left = i3 -modules-right = pulseaudio filesystem memory smalltime +modules-right = pulseaudio smalltime ############################################# [bar/top] @@ -69,7 +69,7 @@ height = 25pt monitor = ${env:MONITOR:} line-size = 4pt enable-ipc = true -border-size = 4pt +border-size = 2pt padding-right = 1 module-margin = 1 padding-left = 1 @@ -89,23 +89,23 @@ tray-background = ${root.background} font-0 = JetBrainsMono Nerd Font:size=10;3 font-N = ; ############################################# -modules-center = title -modules-left = i3 -modules-right = pulseaudio filesystem memory cpu time +modules-center = cpu +modules-left = i3 title +modules-right = filesystem memory pulseaudio time ############################################# [module/i3] type = internal/i3 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-8 = 9; +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-8 = 9; ############################################# # pin-workspaces = true format = @@ -144,15 +144,16 @@ inline-mode = false enable-click = true # fuzzy-match = false enable-scroll = true -reverse-scroll = false +reverse-scroll = true show-urgent = true +pin-workspaces = true ############################################# [module/filesystem] type = internal/fs interval = 25 mount-0 = / -label-mounted =  %percentage_used%% +label-mounted = 󰋊 %percentage_used%% label-mounted-foreground = ${colors.blue} label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.foreground} @@ -162,8 +163,9 @@ label-unmounted-foreground = ${colors.foreground} [module/memory] type = internal/memory interval = 2 -format-prefix = "RAM " -label = %percentage_used:2%% +warn-percentage = 95 +format-prefix = "RAM " +label = %gb_used%/%gb_free% format-prefix-foreground = ${colors.purple} ############################################# @@ -173,7 +175,7 @@ type = internal/cpu interval = 2 format-prefix = "CPU " label = %percentage:2%% -format-prefix-foreground = ${colors.blue} +format-prefix-foreground = ${colors.purple} format =