This commit is contained in:
Valeria Fadeeva 2024-10-07 23:21:09 +05:00
parent fac0bf29f7
commit e21e92f44e
5 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,6 @@
[package]
authors = ["Valeria Fadeeva <valeria@fadeeva.me>"]
name = "melawy-arch-linux-updater-tray-icon"
name = "melawy-arch-linux-updater-tray"
version = "0.1.0"
edition = "2021"

View File

@ -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)

View File

@ -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

View File

@ -1,5 +1,6 @@
#!/bin/bash
git add . && git commit -m "Update" && git push
git add . && git commit -m "Update"
git push
echo "Ready"

View File

@ -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");