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:
parent
727924025c
commit
0188f79629
@ -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,7 +126,7 @@
|
||||
"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
|
||||
},
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user