added pkglist.hook

This commit is contained in:
Harri Lahtinen 2020-03-12 14:34:01 +02:00
parent d684c12b1d
commit 42e00739e6
2 changed files with 10 additions and 1 deletions

View File

@ -207,7 +207,7 @@ label-background = ${colors.color9}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon6/temp1_input
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${colors.foreground}

9
addons/pkglist.hook Normal file
View File

@ -0,0 +1,9 @@
[Trigger]
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/pacman -Qqen > /home/hate/addons/pacman-packages && /usr/bin/pacman -Qqem > /home/hate/addons/yay-packages'