add custom keymap for blackbox

This commit is contained in:
Mylloon 2024-03-26 09:30:41 +01:00
parent 2e467829af
commit 91f877c9e3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,82 @@
{
"keymap" : {
"win.new_tab" : [
"<Control>t"
],
"win.zoom-in" : [
"<Control>plus"
],
"win.zoom-out" : [
"<Control>minus"
],
"win.rename-tab" : [
"<Shift><Control>r"
],
"win.switch-tab-1" : [
"<Alt>1"
],
"win.edit_preferences" : [
"<Control>comma"
],
"win.switch-tab-2" : [
"<Alt>2"
],
"win.search" : [
"<Shift><Control>f"
],
"win.switch-tab-3" : [
"<Alt>3"
],
"app.new-window" : [
"<Shift><Control>n"
],
"win.fullscreen" : [
"F11"
],
"win.switch-tab-4" : [
"<Alt>4"
],
"app.focus-previous-tab" : [
"<Shift><Control>Tab"
],
"win.switch-tab-5" : [
"<Alt>5"
],
"win.switch-tab-6" : [
"<Alt>6"
],
"win.paste" : [
"<Shift><Control>v"
],
"win.zoom-default" : [
"<Control>0"
],
"win.switch-tab-7" : [
"<Alt>7"
],
"win.show-help-overlay" : [
"<Shift><Control>question"
],
"win.switch-tab-8" : [
"<Alt>8"
],
"win.switch-tab-9" : [
"<Alt>9"
],
"win.switch-tab-last" : [
"<Alt>0"
],
"app.focus-next-tab" : [
"<Control>Tab"
],
"win.switch-headerbar-mode" : [
"<Shift><Control>h"
],
"win.copy" : [
"<Shift><Control>c"
],
"win.close-tab" : [
"<Control>w"
]
}
}

View file

@ -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

View file

@ -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