Skip to content

Commit

Permalink
feat: add uptime on power profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Oct 21, 2024
1 parent ca7ebab commit fcf4cad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions modules/menus/energy/profiles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ const EnergyProfiles = (): BoxWidget => {
label: 'Power Profile',
}),
Widget.Label({
class_name: 'menu-label',
css: 'font-size: 0.92em',
class_name: 'menu-label uptime',
label: uptime.bind().as(up),
}),
],
Expand Down
3 changes: 3 additions & 0 deletions scss/style/menus/energy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-battery-card-color);
}

.uptime {
font-size: 0.92em;
}

.menu-items-section {
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-battery-card-color);
Expand Down

0 comments on commit fcf4cad

Please sign in to comment.