]> git.mar77i.info Git - dotfiles/commitdiff
fix sync script. add shortcut for main menu: W-Escape
authormar77i <mar77i@protonmail.ch>
Sun, 13 Jul 2025 20:18:06 +0000 (22:18 +0200)
committermar77i <mar77i@protonmail.ch>
Sun, 13 Jul 2025 20:18:06 +0000 (22:18 +0200)
rc.xml
sync.sh

diff --git a/rc.xml b/rc.xml
index 3edfcb3c9a4d9e9b8c51fa52867d3e70fec4d1cb..fd009db91e2243dab2210d080418c3ef5372e41d 100644 (file)
--- a/rc.xml
+++ b/rc.xml
     <keybind key="W-w">
       <action name="ToggleDecorations"/>
     </keybind>
-    <keybind key="W-Escape">
-      <action name="Lower"/>
-      <action name="FocusToBottom"/>
-      <action name="Unfocus"/>
-    </keybind>
-    <keybind key="W-Space">
-      <action name="ShowMenu">
-        <menu>client-menu</menu>
-      </action>
-    </keybind>
     <!-- Keybindings for window switching -->
     <keybind key="W-Tab">
       <action name="NextWindow">
         <command>dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true</command>
       </action>
     </keybind>
+    <keybind key="W-Escape">
+      <action name="Execute">
+        <command>dbus-send --print-reply --dest=org.kde.StatusNotifierWatcher /global_key_shortcuts/panel/mainmenu/show_hide org.lxqt.global_key_shortcuts.client.activated</command>
+      </action>
+    </keybind>
     <keybind key="W-l">
       <action name="Execute">
         <command>lxqt-leave</command>
diff --git a/sync.sh b/sync.sh
index 5bd743da36187224de97fb225cf93a4395d7c570..d387b4862297630b5abd74c89c66ddbbfed9692a 100755 (executable)
--- a/sync.sh
+++ b/sync.sh
@@ -36,7 +36,7 @@ is_file_dirty() {
 sync_to_tree() {
     # fetch configurations to the working tree.
     # make sure that the file is unchanged on the working tree
-    localnbbv source dest
+    local source dest
     for source in "${sources[@]}"; do
         dest="$(basename "${source}")"
         if diff -q "${source}" "${dest}" &>/dev/null; then