Skip to content

Commit

Permalink
[polybar] Add module to display nvidia optimus-manager status
Browse files Browse the repository at this point in the history
  • Loading branch information
Cribac committed Feb 19, 2023
1 parent 9bc2b77 commit a082758
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .config/polybar/modules/optimus-manager.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[module/optimus-manager]
type = custom/script

exec = $HOME/.config//polybar/scripts/optimus-manager.sh
format-prefix = %{T6}󱄄%{T-}
format-prefix-background = ${colors.purple}
format-prefix-foreground = ${colors.bg}
format-prefix-padding = 1
label = %{T1}%output%%{T-}
label-background = ${colors.bg-alt}
label-foreground = ${colors.fg}
label-padding = 1

0 comments on commit a082758

Please sign in to comment.