feat: some cleanup

This commit is contained in:
2022-04-08 15:47:38 +02:00
parent 572917ade1
commit 59784525c0
9 changed files with 62 additions and 19 deletions

View File

@ -1,6 +1,10 @@
{
"height": 20,
"spacing": 4,
"bar_id":"bar-0",
"ipc": true,
"mode": "hide",
"hidden_state": "show",
"modules-left": ["custom/clock", "custom/waybar-mpris"],
"modules-center": ["sway/workspaces", "sway/mode"],
"modules-right": ["pulseaudio", "network", "custom/cpu_speed", "memory", "battery"],

View File

@ -3,6 +3,8 @@
class=cpu_speed
speed_mhz=$(lscpu | grep "CPU MHz" | sed --expression "s/CPU MHz:[[:space:]]*//g" | xargs printf "%.*f\n" 0)
# speed_ghz=`echo $(($speed_mhz / 1000))`
speed_ghz=`bc -l <<< "$speed_mhz / 1000"`

View File

@ -1,6 +1,7 @@
* {
border: none;
font-family: Font Awesome, Hack Nerd Font;
font-family: Font Awesome, Hack Nerd Font Mono;
font-weight: 600;
font-size: 13px;
/* opacity: 0.95; */
}