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
Copy file name to clipboardExpand all lines: README.md
+22-7Lines changed: 22 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Arch update counter - plasma widget
2
2
3
-

3
+

4
4
5
-
1 - dot w/ custom color | 2 - dot with theme color | 3 - label | 4 - label with separator | 5 - in the system tray
5
+
1 - custom icon color | 2 - custom dot color | 3 - default dot | 4 - label with separator | 5 - label without separator | 6 - in the system tray | 7 - package list
6
6
7
7
## Description
8
8
@@ -16,7 +16,11 @@ Custom setting for the update command and for the count command !
16
16
17
17
You can choose between a dot or a label if an update is available.
18
18
19
-
Possibility to change the visual of the dot or the visual of the label.
19
+
Possibility to change the visual of the dot, the visual of the label and the visual of the icon.
20
+
21
+
A popup list all the available update.
22
+
23
+
And a lot of settings is provided for customizing all that !
20
24
21
25
## Installation
22
26
@@ -53,7 +57,7 @@ You need to have the following packages installed on your system:
53
57
54
58
Go to the 'System Tray Settings' menu and activate it :)
55
59
56
-

60
+

57
61
58
62
## Configuration
59
63
@@ -67,14 +71,19 @@ Go to the 'System Tray Settings' menu and activate it :)
67
71
| 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 |
68
72
| 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 |
69
73
| 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 |
70
-
| Update command | The command you want to execute when the `update` action is called | Pass the command to `konsole -e`|
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 |
71
76
| Display |||
72
77
| 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) |
73
78
| 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`|
74
79
| Separate result | If you want to have the total for *arch* and the total for the other db in the label | Set the label text to `' ' + totalArch + separator + totalAur + ' '`|
75
80
| Separator | The text you want to have for, space available | Inject the text you put into the label |
81
+
| Popup |||
82
+
| Custom X color | You can tick the box if you want a custom color on the X element | Change the color on the popup element and on the preview in the same page |
83
+
| Separator text | Custom text for the version separator | Use the text provided to separate versions in the text |
76
84
| Mouse action |||
77
85
| Click configuration | Choose the type of action you want to do for each click on the mouse | Left click to check, middle click to update OR Middle click to check, left click to update |
86
+
| Main action behavior | If you want to refresh the list or open the popup when you click | Main click depend on the choice made in the Click configuration settings |
78
87
79
88
### Regarding the customization of the commands
80
89
@@ -84,10 +93,16 @@ In no case I'm responsible of anything if your system break due to your command.
84
93
85
94
The program launch the update command with `konsole -e`. So you can test your command or script with `konsole -e "my_command"`.
86
95
87
-
For the update the default command is: `konsole -e (--noclose) 'yay'` where `noclose` is optional.
96
+
When you update all the packages the default command is: `konsole -e (--noclose) 'yay'` where `noclose` is optional.
97
+
98
+
When you update one package the default command is: `konsole -e (--noclose) 'yay -Sy' packageName` where `noclose` is optional and `packageName` is injected from the list.
88
99
89
100
## FAQ
90
101
102
+
### Why all these options for a similar command
103
+
104
+
I like to have the opportunity to really configure everything, and to do so simply.
105
+
91
106
### Why `yay` and `pacman-contrib`
92
107
93
108
`pacman-contrib` provide `checkupdates` for counting the update for the `core` and `extra` repository AND it sync all the db automatically without the need of sudo.
@@ -120,7 +135,7 @@ See the following file :
120
135
121
136
## Roadmap
122
137
123
-
-nothing yet, I take feature request on the go :)
138
+
-Nothing yet, I take feature request on the go :)
124
139
125
140
## Want to participate? Have a bug or a request feature?
0 commit comments