]> Freerunner's - dotfiles.git/commitdiff
upgrayyedd: rename upgrayyedd-kdialog to kupgrayyedd
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 9 Sep 2024 14:37:46 +0000 (16:37 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 9 Sep 2024 14:37:46 +0000 (16:37 +0200)
edit swaync config accordingly

config/dot-config/swaync/config.json
local/dot-local/bin/kupgrayyedd [new file with mode: 0755]
local/dot-local/bin/upgrayyedd-kdialog [deleted file]

index 0701b1487b957c127295d79fd17a7e88445726fa..ce9ddf173125b0819adfe14ec8e9b84d9e7d0813 100644 (file)
@@ -58,7 +58,7 @@
         "actions": [
           {
             "label": "󰏕 Upgrayyedd",
-            "command": "upgrayyedd-kdialog"
+            "command": "kupgrayyedd"
           },
           {
             "label": " Lock",
diff --git a/local/dot-local/bin/kupgrayyedd b/local/dot-local/bin/kupgrayyedd
new file mode 100755 (executable)
index 0000000..ced6c84
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+swaync-client -cp -sw
+
+choice=$(kdialog --menu "Aktion wählen:" 1 "Portage @world update" 2 "Portage @world update with refresh" 3 "Portage depclean @world" --default "Portage @world update");
+
+case $choice in
+    1) footclient -a popup -H ~/.local/bin/upgrayyedd again ;;
+    2) footclient -a popup -H ~/.local/bin/upgrayyedd refresh ;;
+    3) footclient -a popup -H ~/.local/bin/upgrayyedd clean ;;
+    *) echo "Failure"
+esac
+
diff --git a/local/dot-local/bin/upgrayyedd-kdialog b/local/dot-local/bin/upgrayyedd-kdialog
deleted file mode 100755 (executable)
index ced6c84..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-swaync-client -cp -sw
-
-choice=$(kdialog --menu "Aktion wählen:" 1 "Portage @world update" 2 "Portage @world update with refresh" 3 "Portage depclean @world" --default "Portage @world update");
-
-case $choice in
-    1) footclient -a popup -H ~/.local/bin/upgrayyedd again ;;
-    2) footclient -a popup -H ~/.local/bin/upgrayyedd refresh ;;
-    3) footclient -a popup -H ~/.local/bin/upgrayyedd clean ;;
-    *) echo "Failure"
-esac
-