Add remaining configurations
This commit is contained in:
parent
01144ec015
commit
de84a69444
@ -207,6 +207,7 @@ exec --no-startup-id amixer set Master 0% mute
|
||||
exec --no-startup-id "~/.config/i3/run.sh wall"
|
||||
# Keyboard
|
||||
exec --no-startup-id xmodmap ~/.xmodmap
|
||||
exec --no-startup-id xrdb ~/.Xresources
|
||||
#exec --no-startup-id ~/xmodmap.sh
|
||||
# Misc
|
||||
# Compositor
|
||||
|
@ -15,7 +15,7 @@ order += "cpu_usage"
|
||||
order += "ethernet tun0"
|
||||
order += "wireless wlo1"
|
||||
order += "volume master"
|
||||
order += "battery 1"
|
||||
order += "battery 0"
|
||||
order += "tztime local"
|
||||
ethernet tun0 {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
@ -41,10 +41,10 @@ volume master {
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
battery 1 {
|
||||
battery 0 {
|
||||
#format = "%status %remaining %emptytime"
|
||||
format = "%status %percentage"
|
||||
path = "/sys/class/power_supply/BAT1/uevent"
|
||||
path = "/sys/class/power_supply/BAT0/uevent"
|
||||
low_threshold = 20
|
||||
}
|
||||
disk "/" {
|
||||
|
51
kak/.config/kak/kakrc
Normal file
51
kak/.config/kak/kakrc
Normal file
@ -0,0 +1,51 @@
|
||||
# Disable mouse
|
||||
set global ui_options ncurses_enable_mouse=false
|
||||
|
||||
colorscheme gruvbox
|
||||
|
||||
# Word-wrap
|
||||
add-highlighter global/ wrap
|
||||
add-highlighter global/ number-lines
|
||||
|
||||
# Tab complete and indent
|
||||
hook global InsertCompletionShow .* %{
|
||||
try %{
|
||||
execute-keys -draft 'h<a-K>\h<ret>'
|
||||
map window insert <tab> <c-n>
|
||||
map window insert <s-tab> <c-p>
|
||||
}
|
||||
}
|
||||
hook global InsertCompletionHide .* %{
|
||||
unmap window insert <tab> <c-n>
|
||||
unmap window insert <s-tab> <c-p>
|
||||
}
|
||||
|
||||
# Editorconfig
|
||||
hook global BufOpenFile .* %{ editorconfig-load }
|
||||
hook global BufNewFile .* %{ editorconfig-load }
|
||||
|
||||
# Surround
|
||||
map global user [ i[<esc>a]<esc>H
|
||||
map global user { i{<esc>a}<esc>H
|
||||
map global user ( i(<esc>a)<esc>H
|
||||
map global user <lt> i<lt><esc>a<gt><esc>H
|
||||
map global user \' i'<esc>a'<esc>H
|
||||
map global user \" i"<esc>a"<esc>H
|
||||
|
||||
# Plug
|
||||
source "%val{config}/plugins/plug.kak/rc/plug.kak"
|
||||
|
||||
# Plugins
|
||||
plug "andreyorst/smarttab.kak" defer smarttab %{
|
||||
# when `backspace' is pressed, 4 spaces are deleted at once
|
||||
set-option global softtabstop 4
|
||||
} config %{
|
||||
hook global WinSetOption filetype=(rust|markdown|kak|lisp|scheme|perl|c|cpp|java) expandtab
|
||||
hook global WinSetOption filetype=(sh|makefile|gas) noexpandtab
|
||||
}
|
||||
|
||||
plug "andreyorst/fzf.kak" config %{
|
||||
map -docstring 'fzf mode' global normal '<c-p>' ': fzf-mode<ret>'
|
||||
|
||||
set-option global fzf_file_command 'rg' # 'ag', 'fd', or 'find'
|
||||
}
|
@ -5,3 +5,5 @@ export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:
|
||||
#}
|
||||
#trap 'export CESIUM_LAST_COMMAND_TIME="$(date +%s)"' DEBUG
|
||||
#PROMPT_COMMAND=prompt_cmd
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
Loading…
Reference in New Issue
Block a user