Commit Graph

157 Commits

Author SHA1 Message Date
Vladislav Nepogodin 0a7f4908b6
🔖 Bump version 2023-04-02 02:05:37 +04:00
Vladislav Nepogodin 8fa283b71b
♻ update deps 2023-04-02 02:00:32 +04:00
Vladislav Nepogodin 231a29c9a9
🧹 we just need to provide window object 2023-04-01 22:36:39 +04:00
Vladislav Nepogodin 5711e106aa
🧹 simplify and move functions to utils 2023-04-01 22:27:48 +04:00
Vladislav Nepogodin 43e6e58500
♻ update translation 2023-04-01 16:56:13 +04:00
Vladislav Nepogodin 658ae156a7
♻ update deps 2023-04-01 00:24:36 +04:00
Vladislav Nepogodin 0643e73675
🧹 refactor installation dialogs 2023-04-01 00:24:07 +04:00
Vladislav Nepogodin 85566348a2
🧹 refactor dnscrypt button
the basic logic was that we must have both pkg installed,
and service enabled to activate the button.
also on click it doesnt actually enable the service, unless clicked
again
2023-03-31 21:35:39 +04:00
Vladislav Nepogodin 28d2394824
🧹 shorten the scope of unsafe block 2023-03-31 21:01:07 +04:00
Vladislav Nepogodin f72abe78c4
♻ refactor code
associate dialog windows with main window
2023-03-31 20:41:38 +04:00
Vladislav Nepogodin f78623a6c2
👷 install package if not installed 2023-03-31 17:17:10 +04:00
Vladislav Nepogodin 912a1429e4
🧹 useless call to fix_path 2023-03-25 18:42:48 +04:00
Vladislav Nepogodin 8d0c6400e0
♻ update deps 2023-03-25 16:00:35 +04:00
Vladislav Nepogodin 1523885d80
👷 compile gresource with cargo instead of depending on meson 2023-03-25 15:38:10 +04:00
Vladislav Nepogodin 7ebcbb6cf5
🗒 Update release notice 2023-03-21 03:29:07 +04:00
Vladislav Nepogodin 6e370478cb
♻ update deps 2023-03-21 00:32:37 +04:00
Vladislav Nepogodin 9d229fdf89
🧹 add spacing 2023-03-21 00:30:30 +04:00
Vladislav Nepogodin 4da552eb87
🧹 make clippy happy 2023-03-21 00:29:15 +04:00
Vladislav Nepogodin f89ec4bfd9
👷 update translation for additional pages on locale change 2023-03-21 00:27:10 +04:00
ptr1337 8479878046
Translation: Update german translation 2023-03-20 07:38:35 +01:00
Vladislav Nepogodin 4a2ceb5ca5
♻ update translation 2023-03-20 02:44:15 +04:00
Vladislav Nepogodin b141dd26e2
♻ update translation 2023-03-19 23:39:38 +04:00
Vladislav Nepogodin 52351e998a
🧹 move default locale logic from main file
This logic needs to be done in localization.rs.

Also expands usage of environment variables: `LC_ALL`,
`LC_MESSAGES`, `LANG`.
2023-03-19 23:39:38 +04:00
ptr1337 c1c663f248
Update cachyos_hello.ftl 2023-03-19 11:13:06 +00:00
Vladislav Nepogodin 49643771ff
🚧 fix compilation 2023-03-19 15:12:23 +04:00
Vladislav Nepogodin fc415e2efb
🧹 cleanup 2023-03-19 04:52:39 +04:00
Vladislav Nepogodin 837f8a5f4b
move to fluent translation system (#57)
use fluent translatation system instead of gettext

fluent makes translations more readable and easy to maintain
translation. fluent provides better handling of plural, genders cases.

ref: https://github.com/projectfluent/fluent/wiki/Fluent-vs-gettext
ref: https://projectfluent.org/
2023-03-19 04:47:51 +04:00
Vladislav Nepogodin 5ce2634718
♻ update deps 2023-03-17 04:11:35 +04:00
Vladislav Nepogodin 049763cc85
🧹 disable unused features to decrease binary size 2023-03-17 04:09:55 +04:00
Vladislav Nepogodin 7608acd820
🧹 cleanup languages that we didn't update properly
prepare to move to different language library
2023-03-13 03:58:10 +04:00
Vladislav Nepogodin 02189262fe
🧹 make clippy happy 2023-03-13 03:51:38 +04:00
Vladislav Nepogodin b948ee4fdb
♻ update deps 2023-03-13 03:51:20 +04:00
Giuseppe Speranza 22a4f56832
pages.rs: fix run of orphans packages (#53)
* pages.rs: fix run of orphans packages

This avoid "error: no targets specified (use -h for help)" when `pacman -Qtdq` is empty.

`pacman -Qtdq` can be started without root, and has a return value other than 0 if it finds no packages.
So if it finds packages, it succeeds and goes to the true condition that it deletes packages.
Otherwise do echo. (echo doesn't require root)

Signed-off-by: Peppe289 <gsperanza204@gmail.com>

* pages.rs: format with rustfmt

Signed-off-by: Peppe289 <gsperanza204@gmail.com>

* 👷 use msg dialog to inform user; use Exec::cmd

---------

Signed-off-by: Peppe289 <gsperanza204@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
2023-03-13 03:38:13 +04:00
Vladislav Nepogodin 14ad98637b
🔖 Bump version 2023-02-19 01:53:00 +04:00
Vladislav Nepogodin c1e9007b85
🧹 cleanup 2023-02-19 01:50:26 +04:00
Vladislav Nepogodin 5fa5371e1e
🚧 fix compilation 2023-02-19 01:39:13 +04:00
Vladislav Nepogodin 73099e2a54
♻ update deps 2023-02-19 01:17:53 +04:00
Vladislav Nepogodin 9a4034dc84
🚧 fix layout 2023-02-19 01:12:49 +04:00
Vladislav Nepogodin 245c9ef2ae
👷 add more ids for styling 2023-02-19 01:10:10 +04:00
Vladislav Nepogodin 6c1fd2b120
🧹 cleanup 2023-02-18 20:58:37 +04:00
Vladislav Nepogodin 0d9c30545b
🧹 drop unsafe at main.rs for save json
drop unsafe at main.rs for save json
Cleanup the unsafe blocks
2023-02-18 01:58:49 +04:00
Vladislav Nepogodin c40aee852a
🧹 drop unsafe at pages.rs 2023-02-18 01:12:51 +04:00
Vladislav Nepogodin 33cf5d7fa4
🧹 cleanup 2023-02-17 23:09:39 +04:00
Vladislav Nepogodin 3c82bf59bc
🧹 remove clang-format config 2023-02-17 22:31:16 +04:00
Vladislav Nepogodin 1024bd53cc
🧹 cleanup 2023-02-17 22:24:56 +04:00
Vladislav Nepogodin af13cf75ad
👷 use compressed gresource instead 2023-02-17 22:08:16 +04:00
Vladislav Nepogodin 6226aa4879
🔖 Bump version 2023-02-09 00:13:28 +04:00
NextWorks 86ab0c277e
Add Bluetooth Button (#46)
* Add Bluetooth Button

* Format code with rustfmt
2023-02-08 11:50:27 +00:00
Vladislav Nepogodin 9112af7645
🔖 Bump version 2023-02-06 22:03:31 +04:00
Vladislav Nepogodin 8b1f8f60c0
♻ update deps 2023-02-06 21:30:07 +04:00