You are not logged in.

#1 2020-03-29 02:39:51

Wheatgrass
Member
Registered: 2020-03-29
Posts: 2

Pacman Update Applet for Status Bar

I've recently uninstalled pamac due to me never using it for anything. However, I did like having the little applet in my system tray telling me when updates were available. I was wondering if there was something similar available in the official repos.

Offline

#2 2020-03-29 07:34:57

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,358

Re: Pacman Update Applet for Status Bar

Not a tray item, but I wrote a quick bash script to give a desktop notification. It checks once per hour, and issues a beep as well in case I miss the notification.

#!/bin/bash

while true; do
	CHK=$(checkupdates)
	if [ ${#CHK} -gt 0 ]; then
		notify-send "Updates available"
		beep
	fi
	sleep 3600
done

Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#3 2020-03-29 18:41:58

Wheatgrass
Member
Registered: 2020-03-29
Posts: 2

Re: Pacman Update Applet for Status Bar

Awesome. I'm loving this script. I didn't even know about the checkupdates command. Thank you very much.

Offline

Board footer

Powered by FluxBB