[rc] add PowerTOP systemd service
[~bandali/configs] / rc.org
diff --git a/rc.org b/rc.org
index 1520bfd..c3692f7 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -2685,6 +2685,23 @@ polybar main &
 echo "Bars launched..."
 #+end_src
 
 echo "Bars launched..."
 #+end_src
 
+** PowerTOP
+:PROPERTIES:
+:header-args+: :tangle "/sudo::/etc/systemd/system/powertop.service"
+:END:
+
+#+begin_src conf
+[Unit]
+Description=Powertop tunings
+
+[Service]
+ExecStart=/usr/bin/powertop --auto-tune
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target
+#+end_src
+
 ** ranger
 
 *** rc.conf
 ** ranger
 
 *** rc.conf
@@ -4172,7 +4189,7 @@ exact brightness value.
 
 #+begin_src bash
 cur=$(light -G)
 
 #+begin_src bash
 cur=$(light -G)
-val=$(rofi -dmenu -mesg "light    $cur" -p "light -S " -l 0 -width 8)
+val=$(rofi -dmenu -mesg "light    $cur" -p "light -S " -l 0 -width 12)
 light -S $val
 #+end_src
 
 light -S $val
 #+end_src