1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 04:28:43 +01:00

nicer handling of pacman updates

This commit is contained in:
Nick Boughton 2020-12-10 09:25:37 +00:00
parent 727924025c
commit 0188f79629
2 changed files with 8 additions and 7 deletions

@ -2,8 +2,8 @@
[{
//"output": "eDP-1",
"layer": "bottom",
"position": "bottom",
"margin-bottom": 5,
"position": "top",
"margin-top": 5,
"margin-right": 5,
"margin-left": 5,
"modules-left": [
@ -126,12 +126,12 @@
"interval": 5,
"exec": "cat ~/tmp/updates.json",
"exec-if": "exit 0",
"on-click": "~/.config/waybar/modules/updates/update-system.sh; systemctl --user start updates.service; pkill -RTMIN+8 waybar",
"on-click": "alacritty --class aptus-upgrade -e ~/.config/waybar/modules/updates/update-system.sh; systemctl --user start updates.service; pkill -RTMIN+8 waybar",
"signal": 8,
"tooltip": true
},
"custom/aurcheck": {
"format": " {}",
"format": " {}",
"return-type": "json",
"exec": "cat ~/tmp/aur-vcheck.json",
"on-click": "systemctl --user start vcheck.service",
@ -150,10 +150,10 @@
},
{
"layer": "bottom",
"position": "top",
"position": "bottom",
"margin-right": 5,
"margin-left": 5,
"margin-top": 5,
"margin-bottom": 5,
"modules-left": ["custom/weather", "wlr/taskbar"],
"modules-center": [],
"modules-right": ["tray", "custom/spotify"],

@ -1,3 +1,4 @@
#!/bin/bash
alacritty --class aptus-upgrade -e yay --devel -Syu
yay --devel -Syu
read -rsp $'Press any key to continue...\n' -n1 key