aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-05-09 03:13:13 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-05-09 03:13:13 +0200
commit13cec6d35ae2a73c8f8e40385a7d64e3475f97a5 (patch)
tree29137aa0466d9afae433c71a298f6177503fa752 /widgets
parent2d8d7d752bc54310634c44f2d90e4c54357ba989 (diff)
downloadvicious-legacy-13cec6d35ae2a73c8f8e40385a7d64e3475f97a5.tar.xz
pkg: update 'Arch S' substitution lines
It would appear pacman v4 now prints only one line before the package list.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/pkg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/pkg.lua b/widgets/pkg.lua
index da4cf98..62d0ccb 100644
--- a/widgets/pkg.lua
+++ b/widgets/pkg.lua
@@ -22,7 +22,7 @@ local function worker(format, warg)
local updates = 0
local manager = {
["Arch"] = { cmd = "pacman -Qu" },
- ["Arch S"] = { cmd = "yes | pacman -Sup", sub = 2 },
+ ["Arch S"] = { cmd = "yes | pacman -Sup", sub = 1 },
["Debian"] = { cmd = "apt-show-versions -u -b" },
["Ubuntu"] = { cmd = "aptitude search '~U'" },
["Fedora"] = { cmd = "yum list updates", sub = 3 },