Browse Source

Update pyupdatesd to use dnf, add misc configs

master
Noah Petherbridge 6 years ago
parent
commit
cb31c5d5bc
3 changed files with 16 additions and 1 deletions
  1. +1
    -1
      home/bin/pyupdatesd
  2. +4
    -0
      misc/kioskrc
  3. +11
    -0
      misc/powertop.service

+ 1
- 1
home/bin/pyupdatesd View File

@@ -41,7 +41,7 @@ c = dict(

# Command to run to check for available updates, and the expected status
# code that indicates updates are available.
yumcheck = "/usr/bin/yum check-update",
yumcheck = "/usr/bin/dnf check-update",

# Path to notify-send (set to None if you don't want notifications)
notify = "/usr/bin/notify-send",


+ 4
- 0
misc/kioskrc View File

@@ -0,0 +1,4 @@
# put this in /etc/xdg/xfce4/kiosk/kioskrc
# turns off session saving in XFCE
[xfce4-session]
SaveSession=NONE

+ 11
- 0
misc/powertop.service View File

@@ -0,0 +1,11 @@
# /etc/systemd/system/powertop.service

[Unit]
Description=Powertop tunings

[Service]
Type=oneshot
ExecStart=/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save