feat: some cleanup
This commit is contained in:
@ -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"],
|
||||
|
@ -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"`
|
||||
|
@ -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; */
|
||||
}
|
||||
|
Reference in New Issue
Block a user