update polybar

pull/2/head
Penguin 10 months ago
parent 3426a86637
commit 8bd41e9003

@ -193,6 +193,8 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
# assign [class="Pale moon"] $ws2 # assign [class="Pale moon"] $ws2
# assign [class="Pcmanfm"] $ws3 # assign [class="Pcmanfm"] $ws3
# assign [class="Skype"] $ws5 # assign [class="Skype"] $ws5
assign [class="teams-for-linux"] $ws8
assign [class="Alacritty"] $ws5
# Open specific applications in floating mode # Open specific applications in floating mode
# for_window [title="alsamixer"] floating enable border pixel 1 # for_window [title="alsamixer"] floating enable border pixel 1

@ -17,7 +17,7 @@ yellow = #f6c177
purple = #c4a7e7 purple = #c4a7e7
background = #171924 background = #171924
foreground = #e0def4 foreground = #e0def4
background-alt = #26233a background-alt = #453f69
background-alt2 = #1c1e2b background-alt2 = #1c1e2b
foreground-alt = #6e6a86 foreground-alt = #6e6a86
############################################# #############################################
@ -33,7 +33,7 @@ height = 25pt
monitor = ${env:MONITOR:} monitor = ${env:MONITOR:}
line-size = 4pt line-size = 4pt
enable-ipc = true enable-ipc = true
border-size = 4pt border-size = 2pt
padding-right = 1 padding-right = 1
module-margin = 1 module-margin = 1
padding-left = 1 padding-left = 1
@ -55,7 +55,7 @@ font-N = <fontconfig pattern>;<vertical offset>
############################################# #############################################
modules-center = title modules-center = title
modules-left = i3 modules-left = i3
modules-right = pulseaudio filesystem memory smalltime modules-right = pulseaudio smalltime
############################################# #############################################
[bar/top] [bar/top]
@ -69,7 +69,7 @@ height = 25pt
monitor = ${env:MONITOR:} monitor = ${env:MONITOR:}
line-size = 4pt line-size = 4pt
enable-ipc = true enable-ipc = true
border-size = 4pt border-size = 2pt
padding-right = 1 padding-right = 1
module-margin = 1 module-margin = 1
padding-left = 1 padding-left = 1
@ -89,23 +89,23 @@ tray-background = ${root.background}
font-0 = JetBrainsMono Nerd Font:size=10;3 font-0 = JetBrainsMono Nerd Font:size=10;3
font-N = <fontconfig pattern>;<vertical offset> font-N = <fontconfig pattern>;<vertical offset>
############################################# #############################################
modules-center = title modules-center = cpu
modules-left = i3 modules-left = i3 title
modules-right = pulseaudio filesystem memory cpu time modules-right = filesystem memory pulseaudio time
############################################# #############################################
[module/i3] [module/i3]
type = internal/i3 type = internal/i3
ws-icon-0 = 1; ws-icon-0 = 1;
ws-icon-1 = 2; ws-icon-1 = 2;
ws-icon-2 = 3; ws-icon-2 = 3;
ws-icon-3 = 4; ws-icon-3 = 4;󰈙
ws-icon-4 = 5; ws-icon-4 = 5;
ws-icon-5 = 6; ws-icon-5 = 6;
ws-icon-6 = 7; ws-icon-6 = 7;
ws-icon-7 = 8; ws-icon-7 = 8;
ws-icon-8 = 9; ws-icon-8 = 9;
############################################# #############################################
# pin-workspaces = true # pin-workspaces = true
format = <label-state> format = <label-state>
@ -144,15 +144,16 @@ inline-mode = false
enable-click = true enable-click = true
# fuzzy-match = false # fuzzy-match = false
enable-scroll = true enable-scroll = true
reverse-scroll = false reverse-scroll = true
show-urgent = true show-urgent = true
pin-workspaces = true
############################################# #############################################
[module/filesystem] [module/filesystem]
type = internal/fs type = internal/fs
interval = 25 interval = 25
mount-0 = / mount-0 = /
label-mounted = %percentage_used%% label-mounted = 󰋊 %percentage_used%%
label-mounted-foreground = ${colors.blue} label-mounted-foreground = ${colors.blue}
label-unmounted = %mountpoint% not mounted label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground} label-unmounted-foreground = ${colors.foreground}
@ -162,8 +163,9 @@ label-unmounted-foreground = ${colors.foreground}
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2
format-prefix = "RAM " warn-percentage = 95
label = %percentage_used:2%% format-prefix = "RAM "
label = %gb_used%/%gb_free%
format-prefix-foreground = ${colors.purple} format-prefix-foreground = ${colors.purple}
############################################# #############################################
@ -173,7 +175,7 @@ type = internal/cpu
interval = 2 interval = 2
format-prefix = "CPU " format-prefix = "CPU "
label = %percentage:2%% label = %percentage:2%%
format-prefix-foreground = ${colors.blue} format-prefix-foreground = ${colors.purple}
format = <label> <ramp-coreload> format = <label> <ramp-coreload>
# ; Spacing (number of spaces, pixels, points) between individual per-core ramps # ; Spacing (number of spaces, pixels, points) between individual per-core ramps
ramp-coreload-spacing = 0 ramp-coreload-spacing = 0
@ -189,7 +191,7 @@ ramp-coreload-7 = █
[module/time] [module/time]
type = internal/date type = internal/date
interval = 5 interval = 5
date = "%a %-m/%d/%Y %I:%M:%S %p" date = "%a %m/%d/%Y %I:%M:%S %p"
label = %date% label = %date%
############################################# #############################################

@ -0,0 +1,22 @@
# Table of Contents
1. [Background](#org55f2a10)
2. [Usage](#orgd4ac34e)
<a id="org55f2a10"></a>
# Background
This is my config. Maybe one day I&rsquo;ll make a readme on how to use it idk
<a id="orgd4ac34e"></a>
# Usage
chmod u+x ./update-symlinks.sh
./update-symlinks.sh
Loading…
Cancel
Save