stuff
This commit is contained in:
parent
fdc05da7bf
commit
052472d008
5
.bashrc
5
.bashrc
@ -129,3 +129,8 @@ export SQLITE_HISTORY="/home/naiji/.local/share/sqlite3/.sqlite_history"
|
|||||||
alias nsxiv="nsxiv -ap"
|
alias nsxiv="nsxiv -ap"
|
||||||
alias cal="cal -3 -m"
|
alias cal="cal -3 -m"
|
||||||
alias fzvim=". fzvim"
|
alias fzvim=". fzvim"
|
||||||
|
alias kdeconnect-file="kdeconnect-cli -n Pixel\ 10a --share"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "CLEAN GIT STATUS IN ~"
|
||||||
|
echo ""
|
||||||
|
|||||||
@ -2,21 +2,21 @@
|
|||||||
size = 9.0
|
size = 9.0
|
||||||
#offset = { x = 0, y = 2 }
|
#offset = { x = 0, y = 2 }
|
||||||
|
|
||||||
#[font.bold]
|
[font.bold]
|
||||||
#family = "Terminus"
|
family = "Terminus"
|
||||||
#style = "Bold"
|
style = "Bold"
|
||||||
#
|
|
||||||
#[font.bold_italic]
|
[font.bold_italic]
|
||||||
#family = "Terminus"
|
family = "Terminus"
|
||||||
#style = "Bold Italic"
|
style = "Bold Italic"
|
||||||
#
|
|
||||||
#[font.italic]
|
[font.italic]
|
||||||
#family = "Terminus"
|
family = "Terminus"
|
||||||
#style = "Italic"
|
style = "Italic"
|
||||||
#
|
|
||||||
#[font.normal]
|
[font.normal]
|
||||||
#family = "Terminus"
|
family = "Terminus"
|
||||||
#style = "Regular"
|
style = "Regular"
|
||||||
#
|
#
|
||||||
# Default colors
|
# Default colors
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
htop_version=3.4.0-dev-3.4.0
|
htop_version=3.5.1-1-arch
|
||||||
config_reader_min_version=3
|
config_reader_min_version=3
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
@ -23,6 +23,7 @@ header_margin=1
|
|||||||
screen_tabs=1
|
screen_tabs=1
|
||||||
detailed_cpu_time=0
|
detailed_cpu_time=0
|
||||||
cpu_count_from_one=0
|
cpu_count_from_one=0
|
||||||
|
show_cpu_smt_labels=0
|
||||||
show_cpu_usage=1
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=0
|
show_cpu_frequency=0
|
||||||
show_cpu_temperature=0
|
show_cpu_temperature=0
|
||||||
@ -41,18 +42,18 @@ column_meters_1=Tasks LoadAverage Uptime
|
|||||||
column_meter_modes_1=2 2 2
|
column_meter_modes_1=2 2 2
|
||||||
tree_view=1
|
tree_view=1
|
||||||
sort_key=46
|
sort_key=46
|
||||||
tree_sort_key=47
|
tree_sort_key=46
|
||||||
sort_direction=-1
|
sort_direction=-1
|
||||||
tree_sort_direction=1
|
tree_sort_direction=-1
|
||||||
tree_view_always_by_pid=0
|
tree_view_always_by_pid=0
|
||||||
all_branches_collapsed=0
|
all_branches_collapsed=0
|
||||||
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
.sort_key=PERCENT_CPU
|
.sort_key=PERCENT_CPU
|
||||||
.tree_sort_key=PERCENT_MEM
|
.tree_sort_key=PERCENT_CPU
|
||||||
.tree_view_always_by_pid=0
|
.tree_view_always_by_pid=0
|
||||||
.tree_view=1
|
.tree_view=1
|
||||||
.sort_direction=-1
|
.sort_direction=-1
|
||||||
.tree_sort_direction=1
|
.tree_sort_direction=-1
|
||||||
.all_branches_collapsed=0
|
.all_branches_collapsed=0
|
||||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
||||||
.sort_key=IO_RATE
|
.sort_key=IO_RATE
|
||||||
|
|||||||
@ -15,8 +15,8 @@ default_floating_border normal
|
|||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
# font xos4:terminus 9
|
font xos4:terminus 9
|
||||||
font pango:DejaVu Sans Mono 8
|
#font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
# Start XDG autostart .desktop files using dex. See also
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
@ -25,19 +25,22 @@ exec --no-startup-id dex --autostart --environment i3
|
|||||||
# control mpd
|
# control mpd
|
||||||
bindsym $mod+Left exec --no-startup-id mpc prev && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
|
bindsym $mod+Left exec --no-startup-id mpc prev && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
|
||||||
bindsym $mod+Right exec --no-startup-id mpc next && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
|
bindsym $mod+Right exec --no-startup-id mpc next && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
|
||||||
|
bindcode $mod+82 exec --no-startup-id mpc seek +00:00:05
|
||||||
|
bindcode $mod+63 exec --no-startup-id mpc seek -00:00:05
|
||||||
bindsym $mod+p exec --no-startup-id mpc toggle
|
bindsym $mod+p exec --no-startup-id mpc toggle
|
||||||
bindsym $mod+Up exec --no-startup-id mpc volume +5
|
bindsym $mod+Up exec --no-startup-id mpc volume +5
|
||||||
bindsym $mod+Down exec --no-startup-id mpc volume -5
|
bindsym $mod+Down exec --no-startup-id mpc volume -5
|
||||||
bindsym $mod+o exec --no-startup-id alacritty -e ncmpcpp
|
bindsym $mod+o exec --no-startup-id alacritty -e ncmpcpp
|
||||||
exec --no-startup-id /home/naiji/.local/bin/update-now-playing
|
exec --no-startup-id /home/naiji/.local/bin/update-now-playing
|
||||||
exec --no-startup-id /home/naiji/.local/bin/update-monero-price
|
exec --no-startup-id /home/naiji/.local/bin/update-crypto-price
|
||||||
|
exec --no-startup-id /home/naiji/.local/bin/update-keyboard-layout
|
||||||
|
exec --no-startup-id copyq
|
||||||
|
exec --no-startup-id redshift -l 0:0 -t 4500:4500
|
||||||
|
exec --no-startup-id /usr/lib/notification-daemon-1.0/notification-daemon
|
||||||
|
|
||||||
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||||
# they are included here as an example. Modify as you see fit.
|
# they are included here as an example. Modify as you see fit.
|
||||||
|
|
||||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
|
||||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
|
||||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
|
||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
@ -158,7 +161,8 @@ bindsym $mod+Ctrl+j resize shrink height 5 px or 5 ppt
|
|||||||
bindsym $mod+Ctrl+h resize grow width 5 px or 5 ppt
|
bindsym $mod+Ctrl+h resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
bindsym $mod+F1 exec /home/naiji/.local/bin/dkill
|
bindsym $mod+F1 exec /home/naiji/.local/bin/dkill
|
||||||
bindsym $mod+F2 exec librewolf
|
bindsym $mod+F2 exec /home/naiji/.local/bin/helium-0.11.7.1-x86_64.AppImage
|
||||||
|
bindsym $mod+F3 exec /home/naiji/Mounts/hdd2/ZWIBooks/Linux/ZWIBook.AppImage
|
||||||
bindsym $mod+F4 exec alacritty -e newsboat
|
bindsym $mod+F4 exec alacritty -e newsboat
|
||||||
bindsym $mod+F5 exec keepassxc
|
bindsym $mod+F5 exec keepassxc
|
||||||
|
|
||||||
@ -231,17 +235,19 @@ mode "$mode_music" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+Shift+B mode "$mode_explorer"
|
bindsym $mod+Shift+B mode "$mode_explorer"
|
||||||
set $mode_explorer (b)ooks, (y)outube, (m)ovies, (a)udiobooks
|
set $mode_explorer (b)ooks, (y)outube, (m)ovies, (a)udiobooks, a(r)t
|
||||||
mode "$mode_explorer" {
|
mode "$mode_explorer" {
|
||||||
bindsym m exec /home/naiji/.local/bin/dexplorer m dmenu, mode "default"
|
bindsym m exec /home/naiji/.local/bin/dexplorer m dmenu, mode "default"
|
||||||
bindsym y exec /home/naiji/.local/bin/dexplorer y dmenu, mode "default"
|
bindsym y exec /home/naiji/.local/bin/dexplorer y dmenu, mode "default"
|
||||||
bindsym b exec /home/naiji/.local/bin/dexplorer b dmenu, mode "default"
|
bindsym b exec /home/naiji/.local/bin/dexplorer b dmenu, mode "default"
|
||||||
bindsym a exec /home/naiji/.local/bin/dexplorer a dmenu, mode "default"
|
bindsym a exec /home/naiji/.local/bin/dexplorer a dmenu, mode "default"
|
||||||
|
bindsym r exec /home/naiji/.local/bin/dexplorer r dmenu, mode "default"
|
||||||
|
|
||||||
# exit system mode: "Enter" or "Escape"
|
# exit system mode: "Enter" or "Escape"
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+Print exec --no-startup-id maim -s | xclip -selection clipboard -t image/png -i
|
bindsym $mod+Print exec --no-startup-id maim -s | copyq copy image/png -
|
||||||
bindsym Print exec --no-startup-id maim | xclip -selection clipboard -t image/png -i
|
bindsym Print exec --no-startup-id maim | copyq copy image/png -
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,11 @@ order += "disk /home/naiji/Mounts/hdd2/"
|
|||||||
# order += "load"
|
# order += "load"
|
||||||
order += "memory"
|
order += "memory"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
order += "read_file language"
|
||||||
|
|
||||||
|
read_file "language" {
|
||||||
|
path = "/home/naiji/.local/share/i3status/now-language"
|
||||||
|
}
|
||||||
|
|
||||||
read_file "now-playing" {
|
read_file "now-playing" {
|
||||||
path = "/home/naiji/.local/share/i3status/now-playing"
|
path = "/home/naiji/.local/share/i3status/now-playing"
|
||||||
|
|||||||
@ -11,8 +11,6 @@ def_key "ctrl-f"
|
|||||||
page_down
|
page_down
|
||||||
def_key "ctrl-b"
|
def_key "ctrl-b"
|
||||||
page_up
|
page_up
|
||||||
def_key "n"
|
|
||||||
next
|
|
||||||
def_key "P"
|
def_key "P"
|
||||||
previous
|
previous
|
||||||
def_key "space"
|
def_key "space"
|
||||||
@ -43,20 +41,12 @@ def_key "J"
|
|||||||
select_item
|
select_item
|
||||||
def_key "K"
|
def_key "K"
|
||||||
select_item
|
select_item
|
||||||
def_key "ctrl-e"
|
|
||||||
move_end
|
|
||||||
def_key "t"
|
def_key "t"
|
||||||
move_home
|
move_home
|
||||||
def_key "down"
|
def_key "down"
|
||||||
scroll_down
|
scroll_down
|
||||||
def_key "up"
|
def_key "up"
|
||||||
scroll_up
|
scroll_up
|
||||||
def_key "shift-up"
|
|
||||||
move_selected_items_up
|
|
||||||
def_key "N"
|
|
||||||
move_sort_order_down
|
|
||||||
def_key "shift-down"
|
|
||||||
move_selected_items_down
|
|
||||||
def_key "F"
|
def_key "F"
|
||||||
apply_filter
|
apply_filter
|
||||||
def_key "*"
|
def_key "*"
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
https://feeds.fireside.fm/easyfrench/rss
|
||||||
https://www.freelists.org/feed/i3-announce
|
https://www.freelists.org/feed/i3-announce
|
||||||
|
https://life-can-be-a-dream.net/rss.xml
|
||||||
https://archlinux.org/feeds/news/
|
https://archlinux.org/feeds/news/
|
||||||
https://selfprivacy.org/blog/index.xml
|
https://selfprivacy.org/blog/index.xml
|
||||||
https://lukesmith.xyz/index.xml
|
https://lukesmith.xyz/index.xml
|
||||||
|
|||||||
@ -49,5 +49,4 @@ unset TERMCAP
|
|||||||
|
|
||||||
# Man is much better than us at figuring this out
|
# Man is much better than us at figuring this out
|
||||||
unset MANPATH
|
unset MANPATH
|
||||||
alias vim="nvim"
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
colorscheme shine
|
colorscheme shine
|
||||||
|
autocmd BufWritePre *.c normal gg=G
|
||||||
set viminfo+=n~/.config/vim/viminfo
|
set viminfo+=n~/.config/vim/viminfo
|
||||||
set omnifunc=syntaxcomplete#Complete
|
set omnifunc=syntaxcomplete#Complete
|
||||||
set gp=git\ grep\ -n
|
set gp=git\ grep\ -n
|
||||||
@ -21,6 +22,8 @@ inoremap <Down> <Nop>
|
|||||||
inoremap <Left> <Nop>
|
inoremap <Left> <Nop>
|
||||||
inoremap <Right> <Nop>
|
inoremap <Right> <Nop>
|
||||||
|
|
||||||
|
vnoremap <C-c> :w !xclip -i -sel c<CR><CR>
|
||||||
|
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
Plug 'prabirshrestha/vim-lsp'
|
Plug 'prabirshrestha/vim-lsp'
|
||||||
@ -29,41 +32,41 @@ Plug 'dense-analysis/ale'
|
|||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
if executable('pylsp')
|
if executable('pylsp')
|
||||||
" pip install python-lsp-server
|
" pip install python-lsp-server
|
||||||
au User lsp_setup call lsp#register_server({
|
au User lsp_setup call lsp#register_server({
|
||||||
\ 'name': 'pylsp',
|
\ 'name': 'pylsp',
|
||||||
\ 'cmd': {server_info->['pylsp']},
|
\ 'cmd': {server_info->['pylsp']},
|
||||||
\ 'allowlist': ['python'],
|
\ 'allowlist': ['python'],
|
||||||
\ })
|
\ })
|
||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:on_lsp_buffer_enabled() abort
|
function! s:on_lsp_buffer_enabled() abort
|
||||||
setlocal omnifunc=lsp#complete
|
setlocal omnifunc=lsp#complete
|
||||||
setlocal signcolumn=yes
|
setlocal signcolumn=yes
|
||||||
if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif
|
if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif
|
||||||
nmap <buffer> gd <plug>(lsp-definition)
|
nmap <buffer> gd <plug>(lsp-definition)
|
||||||
nmap <buffer> gs <plug>(lsp-document-symbol-search)
|
nmap <buffer> gs <plug>(lsp-document-symbol-search)
|
||||||
nmap <buffer> gS <plug>(lsp-workspace-symbol-search)
|
nmap <buffer> gS <plug>(lsp-workspace-symbol-search)
|
||||||
nmap <buffer> gr <plug>(lsp-references)
|
nmap <buffer> gr <plug>(lsp-references)
|
||||||
nmap <buffer> gi <plug>(lsp-implementation)
|
nmap <buffer> gi <plug>(lsp-implementation)
|
||||||
nmap <buffer> gt <plug>(lsp-type-definition)
|
nmap <buffer> gt <plug>(lsp-type-definition)
|
||||||
nmap <buffer> <leader>rn <plug>(lsp-rename)
|
nmap <buffer> <leader>rn <plug>(lsp-rename)
|
||||||
nmap <buffer> [g <plug>(lsp-previous-diagnostic)
|
nmap <buffer> [g <plug>(lsp-previous-diagnostic)
|
||||||
nmap <buffer> ]g <plug>(lsp-next-diagnostic)
|
nmap <buffer> ]g <plug>(lsp-next-diagnostic)
|
||||||
nmap <buffer> K <plug>(lsp-hover)
|
nmap <buffer> K <plug>(lsp-hover)
|
||||||
nnoremap <buffer> <expr><c-f> lsp#scroll(+4)
|
nnoremap <buffer> <expr><c-f> lsp#scroll(+4)
|
||||||
nnoremap <buffer> <expr><c-d> lsp#scroll(-4)
|
nnoremap <buffer> <expr><c-d> lsp#scroll(-4)
|
||||||
|
|
||||||
let g:lsp_format_sync_timeout = 1000
|
let g:lsp_format_sync_timeout = 1000
|
||||||
autocmd! BufWritePre *.rs,*.go call execute('LspDocumentFormatSync')
|
autocmd! BufWritePre *.rs,*.go call execute('LspDocumentFormatSync')
|
||||||
|
|
||||||
" refer to doc to add more commands
|
" refer to doc to add more commands
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
augroup lsp_install
|
augroup lsp_install
|
||||||
au!
|
au!
|
||||||
" call s:on_lsp_buffer_enabled only for languages that has the server registered.
|
" call s:on_lsp_buffer_enabled only for languages that has the server registered.
|
||||||
autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()
|
autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
let g:lsp_diagnostics_echo_cursor = 1
|
let g:lsp_diagnostics_echo_cursor = 1
|
||||||
|
|||||||
@ -8,3 +8,4 @@ app="fzf"
|
|||||||
[ $1 == "y" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/YouTube/ -type f | $app)";
|
[ $1 == "y" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/YouTube/ -type f | $app)";
|
||||||
[ $1 == "m" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Movies\ \&\ Series/ -type f | $app)";
|
[ $1 == "m" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Movies\ \&\ Series/ -type f | $app)";
|
||||||
[ $1 == "a" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Audiobooks/ | $app)";
|
[ $1 == "a" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Audiobooks/ | $app)";
|
||||||
|
[ $1 == "r" ] && nsxiv -ap "$(find ~/Mounts/hdd2/Art/ | $app)";
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.4 MiB |
BIN
.local/share/backgrounds/levitan.png
Normal file
BIN
.local/share/backgrounds/levitan.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.4 MiB |
Loading…
x
Reference in New Issue
Block a user