dotfiles/.config/waybar/scripts/updatepkgs

7 lines
138 B
Bash
Executable File

#!/bin/sh
mkdir -p /tmp/waybar/module/pacman
footclient bash -c 'paru && echo 0 > /tmp/waybar/module/pacman/count'
pkill waybar
waybar &