diff --git a/.local/share/blackbox/user-keymap.json b/.local/share/blackbox/user-keymap.json new file mode 100644 index 0000000..dbbe4cf --- /dev/null +++ b/.local/share/blackbox/user-keymap.json @@ -0,0 +1,82 @@ +{ + "keymap" : { + "win.new_tab" : [ + "t" + ], + "win.zoom-in" : [ + "plus" + ], + "win.zoom-out" : [ + "minus" + ], + "win.rename-tab" : [ + "r" + ], + "win.switch-tab-1" : [ + "1" + ], + "win.edit_preferences" : [ + "comma" + ], + "win.switch-tab-2" : [ + "2" + ], + "win.search" : [ + "f" + ], + "win.switch-tab-3" : [ + "3" + ], + "app.new-window" : [ + "n" + ], + "win.fullscreen" : [ + "F11" + ], + "win.switch-tab-4" : [ + "4" + ], + "app.focus-previous-tab" : [ + "Tab" + ], + "win.switch-tab-5" : [ + "5" + ], + "win.switch-tab-6" : [ + "6" + ], + "win.paste" : [ + "v" + ], + "win.zoom-default" : [ + "0" + ], + "win.switch-tab-7" : [ + "7" + ], + "win.show-help-overlay" : [ + "question" + ], + "win.switch-tab-8" : [ + "8" + ], + "win.switch-tab-9" : [ + "9" + ], + "win.switch-tab-last" : [ + "0" + ], + "app.focus-next-tab" : [ + "Tab" + ], + "win.switch-headerbar-mode" : [ + "h" + ], + "win.copy" : [ + "c" + ], + "win.close-tab" : [ + "w" + ] + } +} \ No newline at end of file diff --git a/Makefile b/Makefile index 6a98843..f0ccf68 100644 --- a/Makefile +++ b/Makefile @@ -143,6 +143,11 @@ sync-arch: @echo "gpu-screen-recorder settings synced!" @echo +# Blackbox + @$(WGET) $(REPO_SRC)/.local/share/blackbox/user-keymap.json -O $(HOME)/.local/share/blackbox/user-keymap.json + @echo "Blackbox keymap synced!" + @echo + # Pacman hooks @sudo mkdir -p /etc/pacman.d/hooks @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/stop-wine-associations.hook -P /etc/pacman.d/hooks/stop-wine-associations.hook diff --git a/arch.sh b/arch.sh index 4964840..147d4f4 100644 --- a/arch.sh +++ b/arch.sh @@ -290,6 +290,7 @@ main() { gsettings set org.gnome.TextEditor show-line-numbers true # Configuration Blackbox + wget -q --show-progress ${repo}/.local/share/blackbox/user-keymap.json -P "$HOME"/.local/share/blackbox/ # keymap # TODO: Quid de mkdir avant? est-ce que un fichier existe pas déjà ?? gsettings set com.raggesilver.BlackBox use-custom-command true # custom shell gsettings set com.raggesilver.BlackBox custom-shell-command "fish" # use fish as default gsettings set com.raggesilver.BlackBox easy-copy-paste true # allow ^C and ^V