Commit Graph

77 Commits

Author SHA1 Message Date
Vladislav Nepogodin b4adc46487
🧹 cleanup 2023-09-18 03:28:37 +04:00
Vladislav Nepogodin a5c451c09e
🚧 fix translations on dns conns page 2023-09-18 02:03:46 +04:00
Vladislav Nepogodin 3511d3d90f
♻ update translation 2023-09-18 01:40:49 +04:00
Vladislav Nepogodin 61b7c65da2
👷 add dns servers page 2023-09-18 01:14:21 +04:00
Vladislav Nepogodin f43471d257
♻ update deps 2023-09-17 03:41:01 +04:00
NextWorks dbb6b85ee3
Add Bpftune Button (#59)
* Add Bpftune Button

 * Formatted the code with rustfmt
 * All the style is good on the tweak section no need others fixes

* Fix typo
2023-08-25 20:15:06 +04:00
Vladislav Nepogodin 2cc9c3395a
🧹 false positive 2023-07-10 03:01:03 +04:00
Vladislav Nepogodin a40d87f9d1
🧹 make clippy happy 2023-07-10 03:00:44 +04:00
Vladislav Nepogodin 07f4f0a10a
🚧 enable fixed size wrapping 2023-07-09 21:18:13 +04:00
Vladislav Nepogodin 6d9387f54c
👷 remove dnscrypt support 2023-05-28 21:17:43 +04:00
Vladislav Nepogodin 3d8f2b205a
👷 add kitty 2023-05-28 21:06:16 +04:00
Vladislav Nepogodin 06456aecb6
👷 add foot 2023-05-28 21:05:36 +04:00
Vladislav Nepogodin 93579b53b2
🚧 services: fix psd issue 2023-05-05 23:34:13 +04:00
Vladislav Nepogodin 06e07a76a4
🧹 make clippy happy 2023-04-03 19:09:26 +04:00
Vladislav Nepogodin f7b2ce7e3b
🚧 fix user services status detection 2023-04-02 21:10:12 +04:00
Vladislav Nepogodin a75b1a0280
🚧 fix user services 2023-04-02 21:09:11 +04:00
Vladislav Nepogodin 61357e7261
🚧 fix refresh keyrings in release build
workaround bug that appears only in release build.
looks like the regex becomes optimized out.
2023-04-02 17:31:14 +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 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 1523885d80
👷 compile gresource with cargo instead of depending on meson 2023-03-25 15:38:10 +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
Vladislav Nepogodin 4a2ceb5ca5
♻ update translation 2023-03-20 02:44:15 +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
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 02189262fe
🧹 make clippy happy 2023-03-13 03:51:38 +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 5fa5371e1e
🚧 fix compilation 2023-02-19 01:39:13 +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 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
NextWorks 86ab0c277e
Add Bluetooth Button (#46)
* Add Bluetooth Button

* Format code with rustfmt
2023-02-08 11:50:27 +00:00
Vladislav Nepogodin ac49b56a34
🚧 fix language 2023-01-25 02:32:37 +04:00
Vladislav Nepogodin 6fa39f148f
♻ update year 2023-01-08 21:17:25 +04:00
Vladislav Nepogodin e729b5e1c9
👷 run some functions in new thread 2022-11-27 19:19:05 +04:00
Vladislav Nepogodin 61b4100fb7
👷 add dnscrypt toggle & rankmirrors 2022-11-25 04:26:16 +04:00