Power: Replace gtk applet with iced applet (#32)

* Power: Replace gtk applet with iced applet

No functionality yet, but the layout is nearly done. Only small
tweaks needed to font and svg backgrounds.

* Power: Add suspend+restart+shutdown functionality

* Power: Add lock + log out + settings

* Fix build.

* Fix window placement
This commit is contained in:
Brock 2022-12-12 11:41:16 -07:00 committed by GitHub
parent fd17241bcf
commit 31bea66801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 3975 additions and 390 deletions

7
debian/rules vendored
View file

@ -51,6 +51,13 @@ override_dh_auto_clean:
tar pcf vendor.tar vendor; \
rm -rf vendor; \
cd ../..; \
cd applets/cosmic-applet-power/; \
mkdir -p .cargo; \
cargo vendor --sync Cargo.toml | head -n -1 > .cargo/config; \
echo 'directory = "vendor"' >> .cargo/config; \
tar pcf vendor.tar vendor; \
rm -rf vendor; \
cd ../..; \
cd applets/cosmic-applet-network/; \
mkdir -p .cargo; \
cargo vendor --sync Cargo.toml | head -n -1 > .cargo/config; \