From 4fcef81d8d2f7a6d1120add87140c720f240a5ba Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Wed, 21 May 2025 18:23:23 +0200 Subject: [PATCH 1/4] Fix pkgver function to correctly change directory using parameter expansion --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 0d036fb..0e702eb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ sha256sums=('SKIP') source=("git+https://code.edgarpierre.fr/edpibu/desktop.git") pkgver() { - cd "$pkgname%-git" + cd "${pkgname%-git}" git describe --tags | sed -e"s/^v//" } package() { From 2cc4557a36d30b5713adc2c6b9775288da4e7cbf Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 22 May 2025 11:57:55 +0200 Subject: [PATCH 2/4] Add restart icon SVG and reboot desktop entry --- icons/restart.svg | 1 + src/reboot.desktop | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 icons/restart.svg create mode 100644 src/reboot.desktop diff --git a/icons/restart.svg b/icons/restart.svg new file mode 100644 index 0000000..21ccfca --- /dev/null +++ b/icons/restart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/reboot.desktop b/src/reboot.desktop new file mode 100644 index 0000000..96bae73 --- /dev/null +++ b/src/reboot.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Reboot +Exec=/usr/bin/systemctl reboot +Icon=restart \ No newline at end of file From 446d64324e9a3ca9990182cf865940f4d3f779d5 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 22 May 2025 21:01:22 +0200 Subject: [PATCH 3/4] Update SVG files for icons with proper XML headers and formatting --- icons/LICENSE | 4 ++++ icons/microsoft.svg | 26 +++++++++++++++++++++++++- icons/restart.svg | 26 +++++++++++++++++++++++++- 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/icons/LICENSE b/icons/LICENSE index f49a4e1..dc7232a 100644 --- a/icons/LICENSE +++ b/icons/LICENSE @@ -1,3 +1,7 @@ +The icons in this folder are adapted from remixicon, licensed under the Apache License. + +--- + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/icons/microsoft.svg b/icons/microsoft.svg index e33f6a2..b010d53 100644 --- a/icons/microsoft.svg +++ b/icons/microsoft.svg @@ -1 +1,25 @@ - \ No newline at end of file + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/restart.svg b/icons/restart.svg index 21ccfca..13233ad 100644 --- a/icons/restart.svg +++ b/icons/restart.svg @@ -1 +1,25 @@ - \ No newline at end of file + + + + + + + + + + + + + + + \ No newline at end of file From f2ab5f39a34c26f3fb7ff70b1429c9005cfcc472 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 22 May 2025 22:36:57 +0200 Subject: [PATCH 4/4] Add shutdown icon SVG and desktop entry for shutdown application --- icons/shutdown.svg | 25 +++++++++++++++++++++++++ src/shutdown.desktop | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 icons/shutdown.svg create mode 100644 src/shutdown.desktop diff --git a/icons/shutdown.svg b/icons/shutdown.svg new file mode 100644 index 0000000..2a62d42 --- /dev/null +++ b/icons/shutdown.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/shutdown.desktop b/src/shutdown.desktop new file mode 100644 index 0000000..0dd63cb --- /dev/null +++ b/src/shutdown.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Shutdown +Exec=/usr/bin/systemctl poweroff +Icon=shutdown \ No newline at end of file