You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`yay` is used by default for the update and the AUR count. If you want to use another AUR helper you just have to edit the command via the setting window.
49
+
#### Dependencies and AUR helper
53
50
54
-
`kdialog` is used too, but it's not mandatory because it's used just for alerting if `konsole` or `pacman-contrib` is not installed.
51
+
You need to have the following packages installed on your system **OR** to edit the settings with your prefered one:
52
+
-[`pacman-contrib`](https://archlinux.org/packages/extra/x86_64/pacman-contrib/) is used for the list and count of the main repository.
53
+
-[`yay`](https://github.com/Jguer/yay) is used for the list and count of the AUR repository.
54
+
-[`konsole`](https://archlinux.org/packages/extra/x86_64/konsole/) is used to launch the cmd for the upgrade.
55
+
-[`kdialog`](https://archlinux.org/packages/extra/x86_64/kdialog/) is used too, but it's not mandatory because it's used just for alerting if a cmd throw an error.
55
56
56
57
## How to have this in my system tray?
57
58
58
59
Go to the 'System Tray Settings' menu and activate it :)
59
60
61
+
*in some case you may need to log out / log in to see it in the list*
62
+
60
63

61
64
62
65
## Configuration
@@ -68,11 +71,14 @@ Go to the 'System Tray Settings' menu and activate it :)
68
71
| Command & Debug |||
69
72
| Interval configuration | set the interval between each execution of the update check function | the `updater` is launch each X minutes |
70
73
| Debug | Enable the debug mode if set to true | Show each command launch by the plasmoid with `ARCHUPDATE` at the beggining (for regex search) |
74
+
| Retry | Enable the retry mode if set to true | Retry the Count or the List cmd if `stderr` is not empty |
71
75
| Do not close the terminal at the end | if true add the `--noclose` flag into the `konsole` command | Prevent the console to close at the end of the update command |
72
76
| Count ARCH command | The command you want to execute for counting the packages for CORE and EXTRA (default: `checkupdates [pipe] wc -l`) | The `updater` exec this command |
73
77
| Count AUR command | The command you want to execute for counting the packages for the other db (default: `yay -Qua [pipe] wc -l`) | The `updater` exec this command |
74
-
| Update all command | The command for updating all the package at once | Pass the command to `konsole -e`|
75
-
| Update one command | The command for updating one package via the popup | Pass the command to `konsole -e` and add the package name at the end |
78
+
| Update all command | The command for updating all the package at once | Pass the command to the Terminal cmd (or the cmd with no close) |
79
+
| Update one command | The command for updating one package via the popup | Pass the command to the Terminal cmd (or the cmd with no close) and add the package name at the end |
80
+
| Terminal cmd | The command for launching the update all or one cmd | Launch the update cmd and automatically close at the end of it |
81
+
| Terminal cmd & no close | The command for launching the update all or one cmd, executed only when "Do not close at the end" is checked | Launch the update cmd and rest open at the end of it |
76
82
| Display |||
77
83
| Show a dot in place of the label | Replace the label with a colored dot | If the total count is > than 0 the dot is visible, otherwise nothing is shown (no label, no dot) |
78
84
| Custom dot color | If you want to customize the color of the dot | If not checked the dot get the color from your theme via `PlasmaCore.Theme.textColor`|
@@ -87,11 +93,17 @@ Go to the 'System Tray Settings' menu and activate it :)
87
93
88
94
### Regarding the customization of the commands
89
95
90
-
Is up to you to double check the command you want to exec.
96
+
If you have any problems after modifying the default settings (especially the cmds):
97
+
98
+
*quoting the ThinkFan repo here*
91
99
92
-
In no case I'm responsible of anything if your system break due to your command.
100
+
> If this program steals your car, kills your horse, smokes your dope or pees on your carpet... too bad, you're on your own.
93
101
94
-
The program launch the update command with `konsole -e`. So you can test your command or script with `konsole -e "my_command"`.
102
+
Is up to you to double check the command you want to exec. In no case I'm responsible of anything if your system break due to your command.
103
+
104
+
The program launch the update command with `konsole -e` or the cmd that you put in the setting. So you can test your command or script with `konsole -e "my_command"` or the cmd that you put in the settings `mycmd "my_command"`.
105
+
106
+
For the update command you have a demo of each cmd just between the title of the section and the setting input.
95
107
96
108
When you update all the packages the default command is: `konsole -e (--noclose) 'yay'` where `noclose` is optional.
97
109
@@ -115,6 +127,10 @@ Because this command dosen't sync the DB at the same time so the result is wrong
115
127
116
128
For that we need to do something like the `-S` flag before and I prefer to use `checkupdates` for that (it's made for it so...).
117
129
130
+
### Why the `Do not close at the end` option when you can just update the terminal cmd
131
+
132
+
Because it's easier for people who don't want to update the default option to switch between not closing and closing the terminal at the end of the update.
133
+
118
134
### Why the update is made with yay and not pacman
119
135
120
136
Because `yay` cover all the db (core, extra, aur, ...) and `pacman` handle only core and extra.
0 commit comments