Skip to content

Commit

Permalink
lazy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kovetskiy committed Oct 23, 2022
1 parent 708ae7d commit 4444a40
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 28 deletions.
8 changes: 2 additions & 6 deletions .config/bluelink.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
- name: sony
mac: 38:18:4C:BE:55:34
- name: marshal
mac: 2C:4D:79:B0:2D:70
- name: k2
mac: DC:2C:26:DF:69:D3
- name: jbl
mac: 70:99:1C:73:35:05
29 changes: 14 additions & 15 deletions .config/coc/extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"dependencies": {
"coc-css": ">=1.3.0",
"coc-eslint": ">=1.5.8",
"coc-git": ">=2.5.1",
"coc-go": ">=1.3.0",
"coc-grammarly": ">=0.0.2",
"coc-java": ">=1.5.5",
"coc-css": ">=1.2.4",
"coc-eslint": ">=1.4.5",
"coc-git": ">=2.4.3",
"coc-go": ">=0.13.3",
"coc-highlight": ">=1.2.8",
"coc-java": ">=1.5.4",
"coc-java-lombok": ">=1.0.0",
"coc-json": ">=1.6.1",
"coc-pairs": ">=1.3.2",
"coc-prettier": ">=9.3.1",
"coc-pyright": ">=1.1.266",
"coc-json": ">=1.3.6",
"coc-pairs": ">=1.3.0",
"coc-prettier": ">=1.1.24",
"coc-pyright": ">=1.1.172",
"coc-python": ">=1.2.12",
"coc-sourcekit": ">=0.0.3",
"coc-sql": ">=0.10.4",
"coc-tsserver": ">=1.11.3",
"coc-sql": ">=0.8.1",
"coc-tslint-plugin": ">=1.2.0",
"coc-tsserver": ">=1.8.6",
"coc-xml": ">=1.14.1",
"coc-yaml": ">=1.8.0",
"coc-zig": ">=0.6.1"
"coc-yaml": ">=1.4.2"
}
}
3 changes: 3 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ bind-key 'C-space' run -b 'tmux-autocomplete'
bind-key C-n run -b 'tmux-autocomplete-url'
bind-key C-f run -b 'tmux-filter-pane'

bind j select-pane -l

set -g status-keys vi
set -g mode-keys vi

Expand All @@ -51,3 +53,4 @@ set -g default-terminal screen-256color
bind-key -Tcopy-mode-vi q send-keys -X begin-selection

set -g destroy-unattached off

4 changes: 2 additions & 2 deletions bin/infobar
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ _bg=""
:body-append "VPN" "$(:get-section-vpn)"
:notify "$body"

:bg-body-append "LOC" "$(:get-section-location)"
:bg-body-append "PING" $(:get-section-ping)
#:bg-body-append "LOC" "$(:get-section-location)"
#:bg-body-append "PING" $(:get-section-ping)

wait
}
Expand Down
9 changes: 8 additions & 1 deletion bin/screenshot
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#!/bin/bash

filename="$HOME/screenshots/$(date +%F-%T | tr : T).png"
mode="$1"
shift

if [[ "${1:-}" == "-f" ]]; then
if [[ "$mode" == "-f" ]]; then
import "$filename"
elif [[ "$mode" == "deepin" ]]; then
deepin-screen-recorder "${@}" -n -s "$filename"
if [[ ! -f "$filename" ]]; then
exit 1
fi
else
deepin-screen-recorder "${@}" -n -s "$filename"
if [[ ! -f "$filename" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions bin/volume
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
case $action in
up)
volumectl -f '%.0f' up $step
#amixer set Master '2+'
#amixer set Master '2+' >/dev/null
;;

down)
volumectl -f '%.0f' down $step
#amixer set Master '2-'
#amixer set Master '2-' >/dev/null
;;
esac
}
Expand Down
2 changes: 1 addition & 1 deletion bin/xkb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ xkbcomp -w 0 -I$HOME/.xkb -R$HOME/.xkb $HOME/.xkbrc${MODE} $DISPLAY

xset -b

repeat_delay=130
repeat_delay=150
repeat_rate=170

# That chinese keyboard somehow has decreased repeat delay with comparison to
Expand Down
1 change: 0 additions & 1 deletion vim.d/63-langs-go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func! _setup_local_go()
nnoremap <buffer> <Leader>r :call CocActionAsync('rename')<CR>
nnoremap <buffer> <Leader><Leader>i :!go-install-deps<CR>

vmap <buffer> <C-F> ctx<TAB>
let b:argwrap_tail_comma = 1
Expand Down
3 changes: 3 additions & 0 deletions vim.d/90-map.vim
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,6 @@ vmap ) S)i
nnoremap <Leader>i i<space><left>
nnoremap <Leader>I I<space><left>
nmap <tab> :bnext<CR>
nmap <s-tab> :bNext<CR>

0 comments on commit 4444a40

Please sign in to comment.