Update mGBA config script
This commit is contained in:
@@ -290,6 +290,7 @@ bindsym $mod+F5 workspace $ws5; exec $browser
|
|||||||
# bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
|
# bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
|
||||||
# bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp
|
# bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp
|
||||||
bindsym Mod4+g workspace $ws5; exec mgba-qt
|
bindsym Mod4+g workspace $ws5; exec mgba-qt
|
||||||
|
bindsym Mod4+i workspace $ws5; exec idea
|
||||||
bindsym Mod4+t workspace $ws5; exec thunderbird
|
bindsym Mod4+t workspace $ws5; exec thunderbird
|
||||||
bindsym Mod4+5 workspace $ws5; exec godot
|
bindsym Mod4+5 workspace $ws5; exec godot
|
||||||
bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e
|
bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ logToStdout=0
|
|||||||
useDiscordPresence=0
|
useDiscordPresence=0
|
||||||
logLevel=7
|
logLevel=7
|
||||||
sampleRate=44100
|
sampleRate=44100
|
||||||
mute=0
|
mute=1
|
||||||
rewindBufferCapacity=300
|
rewindBufferCapacity=300
|
||||||
allowOpposingDirections=0
|
allowOpposingDirections=0
|
||||||
suspendScreensaver=1
|
suspendScreensaver=1
|
||||||
@@ -44,7 +44,7 @@ cheatAutoload=1
|
|||||||
loadStateExtdata=9
|
loadStateExtdata=9
|
||||||
gb.bios=
|
gb.bios=
|
||||||
videoSync=0
|
videoSync=0
|
||||||
fastForwardMute=0
|
fastForwardMute=1
|
||||||
pauseOnFocusLost=1
|
pauseOnFocusLost=1
|
||||||
showLibrary=0
|
showLibrary=0
|
||||||
useCgbColors=1
|
useCgbColors=1
|
||||||
@@ -86,8 +86,8 @@ axisLeftValue=-12288
|
|||||||
keySelect=6
|
keySelect=6
|
||||||
|
|
||||||
[gba.input.SDLB]
|
[gba.input.SDLB]
|
||||||
keyR=5
|
keyR=-1
|
||||||
keyL=4
|
keyL=-1
|
||||||
axisUpAxis=-1
|
axisUpAxis=-1
|
||||||
hat0Right=4
|
hat0Right=4
|
||||||
gyroSensitivity=2e+09
|
gyroSensitivity=2e+09
|
||||||
@@ -101,11 +101,11 @@ keyUp=-1
|
|||||||
hat0Down=7
|
hat0Down=7
|
||||||
axisRightValue=12288
|
axisRightValue=12288
|
||||||
axisRightAxis=+0
|
axisRightAxis=+0
|
||||||
axisUpValue=-8297
|
axisUpValue=-10593
|
||||||
axisDownAxis=+1
|
axisDownAxis=+1
|
||||||
gyroAxisX=0
|
gyroAxisX=0
|
||||||
tiltAxisX=2
|
tiltAxisX=2
|
||||||
axisDownValue=16279
|
axisDownValue=13983
|
||||||
keyA=0
|
keyA=0
|
||||||
keyRight=-1
|
keyRight=-1
|
||||||
device0=Microsoft X-Box 360 pad
|
device0=Microsoft X-Box 360 pad
|
||||||
@@ -128,8 +128,8 @@ keyRight=16777236
|
|||||||
keySelect=65
|
keySelect=65
|
||||||
|
|
||||||
[gba.input-profile.Microsoft X-Box 360 pad]
|
[gba.input-profile.Microsoft X-Box 360 pad]
|
||||||
keyR=5
|
keyR=-1
|
||||||
keyL=4
|
keyL=-1
|
||||||
axisUpAxis=-1
|
axisUpAxis=-1
|
||||||
hat0Right=4
|
hat0Right=4
|
||||||
gyroSensitivity=2e+09
|
gyroSensitivity=2e+09
|
||||||
@@ -143,11 +143,11 @@ keyUp=-1
|
|||||||
hat0Down=7
|
hat0Down=7
|
||||||
axisRightValue=12288
|
axisRightValue=12288
|
||||||
axisRightAxis=+0
|
axisRightAxis=+0
|
||||||
axisUpValue=-8297
|
axisUpValue=-10593
|
||||||
axisDownAxis=+1
|
axisDownAxis=+1
|
||||||
gyroAxisX=0
|
gyroAxisX=0
|
||||||
tiltAxisX=2
|
tiltAxisX=2
|
||||||
axisDownValue=16279
|
axisDownValue=13983
|
||||||
keyA=0
|
keyA=0
|
||||||
keyRight=-1
|
keyRight=-1
|
||||||
hat0Up=6
|
hat0Up=6
|
||||||
|
|||||||
@@ -27,14 +27,20 @@ scale%5B2%5D=1
|
|||||||
[shortcutAxis]
|
[shortcutAxis]
|
||||||
autofireA=@String(\0-1)
|
autofireA=@String(\0-1)
|
||||||
fastForward=@String(\0-1)
|
fastForward=@String(\0-1)
|
||||||
holdFastForward=@String(\0-1)
|
holdFastForward=+2
|
||||||
holdRewind=@String(\0-1)
|
holdRewind=@String(\0-1)
|
||||||
|
quickLoad.1=@String(\0-1)
|
||||||
|
quickSave.1=@String(\0-1)
|
||||||
|
quickSave.2=@String(\0-1)
|
||||||
|
|
||||||
[shortcutButton]
|
[shortcutButton]
|
||||||
autofireA=2
|
autofireA=2
|
||||||
fastForward=3
|
fastForward=3
|
||||||
holdFastForward=-1
|
holdFastForward=-1
|
||||||
holdRewind=-1
|
holdRewind=-1
|
||||||
|
quickLoad.1=5
|
||||||
|
quickSave.1=4
|
||||||
|
quickSave.2=-1
|
||||||
|
|
||||||
[shortcutKey]
|
[shortcutKey]
|
||||||
autofireA=E
|
autofireA=E
|
||||||
@@ -44,8 +50,11 @@ holdFastForward=R
|
|||||||
[shortcutProfileAxis.Microsoft%20X-Box%20360%20pad]
|
[shortcutProfileAxis.Microsoft%20X-Box%20360%20pad]
|
||||||
autofireA=@String(\0-1)
|
autofireA=@String(\0-1)
|
||||||
fastForward=@String(\0-1)
|
fastForward=@String(\0-1)
|
||||||
holdFastForward=@String(\0-1)
|
holdFastForward=+2
|
||||||
holdRewind=@String(\0-1)
|
holdRewind=@String(\0-1)
|
||||||
|
quickLoad.1=@String(\0-1)
|
||||||
|
quickSave.1=@String(\0-1)
|
||||||
|
quickSave.2=@String(\0-1)
|
||||||
|
|
||||||
[shortcutProfileAxis.XInput%20Controller%20%231]
|
[shortcutProfileAxis.XInput%20Controller%20%231]
|
||||||
autofireA=@String(\0-1)
|
autofireA=@String(\0-1)
|
||||||
@@ -58,6 +67,9 @@ autofireA=2
|
|||||||
fastForward=3
|
fastForward=3
|
||||||
holdFastForward=-1
|
holdFastForward=-1
|
||||||
holdRewind=-1
|
holdRewind=-1
|
||||||
|
quickLoad.1=5
|
||||||
|
quickSave.1=4
|
||||||
|
quickSave.2=-1
|
||||||
|
|
||||||
[shortcutProfileButton.XInput%20Controller%20%231]
|
[shortcutProfileButton.XInput%20Controller%20%231]
|
||||||
autofireA=2
|
autofireA=2
|
||||||
|
|||||||
7
dot_config/mgba/update-mgba-config.fish
Executable file
7
dot_config/mgba/update-mgba-config.fish
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/fish
|
||||||
|
|
||||||
|
set mgba_config_dir "/home/kevin/.config/mgba"
|
||||||
|
set chez_dir "/home/kevin/linux-config/dot_config/mgba"
|
||||||
|
for ini_file in config qt
|
||||||
|
cp "$mgba_config_dir/$ini_file.ini" "$chez_dir/$ini_file-tmpl.ini"
|
||||||
|
end
|
||||||
@@ -13,6 +13,7 @@ set expandtab
|
|||||||
" set foldmethod=indent
|
" set foldmethod=indent
|
||||||
set foldmethod=marker
|
set foldmethod=marker
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
set ignorecase
|
||||||
set linebreak
|
set linebreak
|
||||||
set linespace=5
|
set linespace=5
|
||||||
set mouse=a
|
set mouse=a
|
||||||
@@ -20,6 +21,7 @@ set mouse=a
|
|||||||
" set noswapfile
|
" set noswapfile
|
||||||
set relativenumber
|
set relativenumber
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
set smartcase
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
" set t_Co=256
|
" set t_Co=256
|
||||||
" set termguicolors
|
" set termguicolors
|
||||||
@@ -63,6 +65,8 @@ autocmd Filetype markdown set commentstring=<!---\ %s\ -->
|
|||||||
autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
||||||
autocmd Filetype markdown nnoremap <Tab> <Esc>>>A
|
autocmd Filetype markdown nnoremap <Tab> <Esc>>>A
|
||||||
autocmd Filetype markdown inoremap <S-Tab> <Esc><<A
|
autocmd Filetype markdown inoremap <S-Tab> <Esc><<A
|
||||||
|
autocmd Filetype markdown inoremap < <Esc><<A
|
||||||
|
autocmd Filetype markdown inoremap << <
|
||||||
autocmd Filetype markdown inoremap > <Esc>>>A
|
autocmd Filetype markdown inoremap > <Esc>>>A
|
||||||
autocmd Filetype markdown inoremap >> >
|
autocmd Filetype markdown inoremap >> >
|
||||||
autocmd FileType markdown,tex,text set spell spelllang=en_us
|
autocmd FileType markdown,tex,text set spell spelllang=en_us
|
||||||
@@ -253,6 +257,12 @@ Plug 'ciaranm/securemodelines/'
|
|||||||
" different colors for each layer of surrounding brackets
|
" different colors for each layer of surrounding brackets
|
||||||
Plug 'luochen1990/rainbow'
|
Plug 'luochen1990/rainbow'
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
|
" easy custom text objects
|
||||||
|
Plug 'kana/vim-textobj-user'
|
||||||
|
" latex custom text objects
|
||||||
|
Plug 'rbonvall/vim-textobj-latex'
|
||||||
|
" swap words
|
||||||
|
Plug 'tommcdo/vim-exchange'
|
||||||
" ]]] vim-plug "
|
" ]]] vim-plug "
|
||||||
|
|
||||||
" Mappings [[[ "
|
" Mappings [[[ "
|
||||||
@@ -281,6 +291,7 @@ let mapleader="\<Space>"
|
|||||||
|
|
||||||
" find alias
|
" find alias
|
||||||
nnoremap <leader>a /^ <Left>
|
nnoremap <leader>a /^ <Left>
|
||||||
|
nnoremap <leader>ac :.s/\(\w\w\)/\u\1\U\2/g<CR>
|
||||||
" replace until end of line
|
" replace until end of line
|
||||||
nnoremap <leader>c c$
|
nnoremap <leader>c c$
|
||||||
" delete until end of line
|
" delete until end of line
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ ctltd "sudo systemctl status dhcpcd"
|
|||||||
ctlr "sudo systemctl restart"
|
ctlr "sudo systemctl restart"
|
||||||
|
|
||||||
nct "sudo netctl"
|
nct "sudo netctl"
|
||||||
nct "sudo netctl"
|
nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
|
||||||
|
|
||||||
# ]]] systemctl #
|
# ]]] systemctl #
|
||||||
|
|
||||||
|
|||||||
@@ -68,10 +68,10 @@ sc ~/school
|
|||||||
lt ~/school/latex-notes
|
lt ~/school/latex-notes
|
||||||
|
|
||||||
6 ~/school/263
|
6 ~/school/263
|
||||||
63 ~/school/263/a3
|
63 ~/school/263/a4
|
||||||
631 ~/school/263/a3/q1
|
631 ~/school/263/a4/q1
|
||||||
632 ~/school/263/a3/q2
|
632 ~/school/263/a4/q2
|
||||||
63t ~/school/latex-notes/263/a3
|
63t ~/school/latex-notes/263/a4
|
||||||
|
|
||||||
al1 ~/school/algorithms/w1-union-find
|
al1 ~/school/algorithms/w1-union-find
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ re README.md
|
|||||||
t todo.md
|
t todo.md
|
||||||
tt txt/todo.md
|
tt txt/todo.md
|
||||||
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
||||||
|
tp /tmp/
|
||||||
wh ~/Documents/journal/todo/work-habit.md
|
wh ~/Documents/journal/todo/work-habit.md
|
||||||
wt ~/.config/watson/state.tmp
|
wt ~/.config/watson/state.tmp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user