Update
This commit is contained in:
parent
fac0bf29f7
commit
e21e92f44e
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
authors = ["Valeria Fadeeva <valeria@fadeeva.me>"]
|
authors = ["Valeria Fadeeva <valeria@fadeeva.me>"]
|
||||||
name = "melawy-arch-linux-updater-tray-icon"
|
name = "melawy-arch-linux-updater-tray"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# melawy-arch-linux-updater-tray-icon
|
# melawy-arch-linux-updater-tray
|
||||||
Melawy Arch Linux Updater Tray Icon
|
Melawy Arch Linux Updater Tray
|
||||||
|
|
||||||
### Donate
|
### Donate
|
||||||
[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066)
|
[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#!/usr/bin/env xdg-open
|
#!/usr/bin/env xdg-open
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Melawy Arch Linux Updater Tray Icon
|
Name=Melawy Arch Linux Updater Tray
|
||||||
Name[en_GB]=Melawy Arch Linux Updater Tray Icon
|
Name[en_GB]=Melawy Arch Linux Updater Tray
|
||||||
Name[en_US]=Melawy Arch Linux Updater Tray Icon
|
Name[en_US]=Melawy Arch Linux Updater Tray
|
||||||
Name[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея
|
Name[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея
|
||||||
Comment=Melawy Arch Linux Иконка Обновления для Системного Трея
|
Comment=Melawy Arch Linux Иконка Обновления для Системного Трея
|
||||||
Comment[en_GB]=Melawy Arch Linux Updater Tray Icon
|
Comment[en_GB]=Melawy Arch Linux Updater Tray
|
||||||
Comment[en_US]=Melawy Arch Linux Updater Tray Icon
|
Comment[en_US]=Melawy Arch Linux Updater Tray
|
||||||
Comment[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея
|
Comment[ru]=Melawy Arch Linux Иконка Обновления для Системного Трея
|
||||||
Icon=software-store
|
Icon=software-store
|
||||||
Categories=System;Settings;Security;
|
Categories=System;Settings;Security;
|
||||||
Exec=/usr/bin/melawy-arch-linux-updater-tray-icon
|
Exec=/usr/bin/melawy-arch-linux-updater-tray
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=false
|
Terminal=false
|
3
push.sh
3
push.sh
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
git add . && git commit -m "Update" && git push
|
git add . && git commit -m "Update"
|
||||||
|
git push
|
||||||
|
|
||||||
echo "Ready"
|
echo "Ready"
|
||||||
|
|
|
@ -4,9 +4,9 @@ use subprocess;
|
||||||
fn main() {
|
fn main() {
|
||||||
gtk::init().unwrap();
|
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", || {
|
tray.add_menu_item("Update system", || {
|
||||||
println!("Update system");
|
println!("Update system");
|
||||||
|
|
Loading…
Reference in New Issue