Skip to content

morgan9e/power-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

power-overlay

because reading Intel RAPL requires root (and also is NOT safe to make it globally readable)

  • esc/q to exit
  • +/- to change font size
  • up/down to change opacity
  • drag to move
image

compile

gcc main.c -o power-overlay `sdl2-config --cflags --libs` -lSDL2_gfx -lm

if you want to add a desktop file

power-overlay.sh

#!/bin/bash
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /home/user/.local/bin/power-overlay

power-overlay.desktop

[Desktop Entry]
Name=power overlay
Exec=power-overlay
Type=Application

About

Simple SDL power overlay

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages