From e21e92f44e7335b947753dfbf9a7735418d19b7b Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Mon, 7 Oct 2024 23:21:09 +0500 Subject: [PATCH] Update --- Cargo.toml | 2 +- README.md | 4 ++-- ...desktop => melawy-arch-linux-updater-tray.desktop | 12 ++++++------ push.sh | 3 ++- src/main.rs | 4 ++-- 5 files changed, 13 insertions(+), 12 deletions(-) rename melawy-arch-linux-updater-tray-icon.desktop => melawy-arch-linux-updater-tray.desktop (60%) diff --git a/Cargo.toml b/Cargo.toml index 0b9556e..fe94ccb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Valeria Fadeeva "] -name = "melawy-arch-linux-updater-tray-icon" +name = "melawy-arch-linux-updater-tray" version = "0.1.0" edition = "2021" diff --git a/README.md b/README.md index 5a7fcf9..16ffb62 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# melawy-arch-linux-updater-tray-icon -Melawy Arch Linux Updater Tray Icon +# melawy-arch-linux-updater-tray +Melawy Arch Linux Updater Tray ### Donate [Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) diff --git a/melawy-arch-linux-updater-tray-icon.desktop b/melawy-arch-linux-updater-tray.desktop similarity index 60% rename from melawy-arch-linux-updater-tray-icon.desktop rename to melawy-arch-linux-updater-tray.desktop index 9b0ffed..6d2c16a 100755 --- a/melawy-arch-linux-updater-tray-icon.desktop +++ b/melawy-arch-linux-updater-tray.desktop @@ -1,16 +1,16 @@ #!/usr/bin/env xdg-open [Desktop Entry] -Name=Melawy Arch Linux Updater Tray Icon -Name[en_GB]=Melawy Arch Linux Updater Tray Icon -Name[en_US]=Melawy Arch Linux Updater Tray Icon +Name=Melawy Arch Linux Updater Tray +Name[en_GB]=Melawy Arch Linux Updater Tray +Name[en_US]=Melawy Arch Linux Updater Tray Name[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея Comment=Melawy Arch Linux Иконка Обновления для Системного Трея -Comment[en_GB]=Melawy Arch Linux Updater Tray Icon -Comment[en_US]=Melawy Arch Linux Updater Tray Icon +Comment[en_GB]=Melawy Arch Linux Updater Tray +Comment[en_US]=Melawy Arch Linux Updater Tray Comment[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея Icon=software-store Categories=System;Settings;Security; -Exec=/usr/bin/melawy-arch-linux-updater-tray-icon +Exec=/usr/bin/melawy-arch-linux-updater-tray Type=Application StartupNotify=true Terminal=false diff --git a/push.sh b/push.sh index 345883e..434d0f3 100755 --- a/push.sh +++ b/push.sh @@ -1,5 +1,6 @@ #!/bin/bash -git add . && git commit -m "Update" && git push +git add . && git commit -m "Update" +git push echo "Ready" diff --git a/src/main.rs b/src/main.rs index 392264b..202281c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,9 +4,9 @@ use subprocess; fn main() { gtk::init().unwrap(); - let mut tray = TrayItem::new("Melawy Arch Linux Updater Tray Icon", IconSource::Resource("software-store")).unwrap(); + let mut tray = TrayItem::new("Melawy Arch Linux Updater", IconSource::Resource("software-store")).unwrap(); - tray.add_label("Melawy Arch Linux Updater Tray Icon").unwrap(); + tray.add_label("Melawy Arch Linux Updater").unwrap(); tray.add_menu_item("Update system", || { println!("Update system");