add custom keymap for blackbox
This commit is contained in:
parent
2e467829af
commit
91f877c9e3
3 changed files with 88 additions and 0 deletions
82
.local/share/blackbox/user-keymap.json
Normal file
82
.local/share/blackbox/user-keymap.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
5
Makefile
5
Makefile
|
@ -143,6 +143,11 @@ sync-arch:
|
||||||
@echo "gpu-screen-recorder settings synced!"
|
@echo "gpu-screen-recorder settings synced!"
|
||||||
@echo
|
@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
|
# Pacman hooks
|
||||||
@sudo mkdir -p /etc/pacman.d/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
|
@sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/stop-wine-associations.hook -P /etc/pacman.d/hooks/stop-wine-associations.hook
|
||||||
|
|
1
arch.sh
1
arch.sh
|
@ -290,6 +290,7 @@ main() {
|
||||||
gsettings set org.gnome.TextEditor show-line-numbers true
|
gsettings set org.gnome.TextEditor show-line-numbers true
|
||||||
|
|
||||||
# Configuration Blackbox
|
# 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 use-custom-command true # custom shell
|
||||||
gsettings set com.raggesilver.BlackBox custom-shell-command "fish" # use fish as default
|
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
|
gsettings set com.raggesilver.BlackBox easy-copy-paste true # allow ^C and ^V
|
||||||
|
|
Loading…
Reference in a new issue