+ Uh.... something change....
This commit is contained in:
parent
003872a6e2
commit
7fc350c84c
5 changed files with 13 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
#! /bin/dash
|
#! /bin/dash
|
||||||
|
|
||||||
picom &
|
|
||||||
sxhkd &
|
sxhkd &
|
||||||
xsetroot -cursor_name left_ptr &
|
xsetroot -cursor_name left_ptr &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
picom &
|
||||||
$HOME/.scripts/launch-conky.sh &
|
$HOME/.scripts/launch-conky.sh &
|
||||||
$HOME/.config/polybar/launch.sh &
|
$HOME/.config/polybar/launch.sh &
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,8 @@ let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
|
||||||
" ----- Mutt
|
" ----- Mutt
|
||||||
au BufRead /tmp/mutt-* set tw=72
|
au BufRead /tmp/mutt-* set tw=72
|
||||||
|
|
||||||
" ----- Execute Python
|
" ----- Execute corresponding language
|
||||||
|
" python
|
||||||
if !has("nvim")
|
if !has("nvim")
|
||||||
autocmd FileType python map <buffer> <F9> :w<CR>:!clear; python3 "%"<CR>
|
autocmd FileType python map <buffer> <F9> :w<CR>:!clear; python3 "%"<CR>
|
||||||
autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:!clear; python3 "%"<CR>
|
autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:!clear; python3 "%"<CR>
|
||||||
|
@ -28,9 +29,14 @@ else
|
||||||
autocmd FileType python imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter python3 "%"<CR>
|
autocmd FileType python imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter python3 "%"<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" sh (either bash or zsh)
|
||||||
autocmd FileType sh map <buffer> <F9> :w<CR>:vs<CR>:ter sh "%"<CR>
|
autocmd FileType sh map <buffer> <F9> :w<CR>:vs<CR>:ter sh "%"<CR>
|
||||||
autocmd FileType sh imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter sh "%"<CR>
|
autocmd FileType sh imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter sh "%"<CR>
|
||||||
|
|
||||||
|
" c (untested)
|
||||||
|
autocmd FileType c map <buffer> <F9> :w<CR>:vs<CR>:ter gcc "%" -o %< && ./"%" && read<CR>
|
||||||
|
autocmd FileType c imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter gcc "%" -o %< && ./"%" && read<CR>
|
||||||
|
|
||||||
" ----- Automatically Render PDF
|
" ----- Automatically Render PDF
|
||||||
autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null
|
autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null
|
||||||
autocmd FileType tex command! -nargs=0 Lw w !pdflatex % > /dev/null
|
autocmd FileType tex command! -nargs=0 Lw w !pdflatex % > /dev/null
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
" ==============================
|
" ==============================
|
||||||
" null2264's VIMRC
|
" null2264's VIMRC
|
||||||
" ==============================
|
" ==============================
|
||||||
|
" NeoVIM is recommended! This vimrc created inside NeoVIM and not tested on
|
||||||
|
" VIM
|
||||||
|
|
||||||
" ----- Sourcing Mapping/Config
|
" ----- Sourcing Mapping/Config
|
||||||
|
|
||||||
|
|
|
@ -8,3 +8,5 @@ bash /usr/bin/tdm
|
||||||
|
|
||||||
[[ -f ~/.zshrc ]] && . ~/.zshrc
|
[[ -f ~/.zshrc ]] && . ~/.zshrc
|
||||||
[ ! -s ~/.config/mpd/pid ] && mpd
|
[ ! -s ~/.config/mpd/pid ] && mpd
|
||||||
|
|
||||||
|
export PATH="$HOME/.poetry/bin:$PATH"
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
version=$(find ~/.local/share/mcpelauncher/versions -maxdepth 1 | sort -r | awk '!/ns$/ && !/.ini/' | sed "s/^.*s\///" | dmenu -l 10 -i -p "MCPE Versions")
|
version=$(find ~/.local/share/mcpelauncher/versions -maxdepth 1 | sort -r | awk '!/ns$/ && !/.ini/' | sed "s/^.*s\///" | dmenu -l 10 -i -p "MCPE Versions")
|
||||||
[ -z $version ] && exit 1
|
[ -z $version ] && exit 1
|
||||||
|
|
||||||
gamemoderun mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/$version &
|
gamemoderun mcpelauncher-client -ww 1366 -wh 740 -dg ~/.local/share/mcpelauncher/versions/$version &
|
||||||
sleep 5s && mcpelauncher-rpc "$version"
|
sleep 5s && mcpelauncher-rpc "$version"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue