update configs

This commit is contained in:
Krrish Ghimire
2025-07-15 14:15:33 +05:45
parent d9f90cbe39
commit 18c3858299
3 changed files with 77 additions and 57 deletions
+5 -2
View File
@@ -1,8 +1,10 @@
"query:Starred:flags # \"a\"" "query:Starred:flags # \"a\""
https://krrishg.com/rss "My blog"
https://lukesmith.xyz/rss.xml "blog" https://lukesmith.xyz/rss.xml "blog"
https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3 "peertube" "~Luke Smith (Peertube) https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3 "peertube" "~Luke Smith (Peertube)
https://lukesmith.xyz/youtube.xml "youtube" "~Luke Smith (Youtube)" https://lukesmith.xyz/youtube.xml "youtube" "~Luke Smith (Youtube)"
https://thehistoryoftheweb.com/feed/ "History of the web"
https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg "youtube"
@@ -19,12 +21,13 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC7teONMQPF1_g3YCv-lEtfQ "yo
https://www.youtube.com/feeds/videos.xml?channel_id=UCcYzLCs3zrQIBVHYA1sK2sw "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UCcYzLCs3zrQIBVHYA1sK2sw "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCS0s6BFzIcvC2gTH52_vBEA "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UCS0s6BFzIcvC2gTH52_vBEA "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCOCZxe0gNRA7c3PGWPGoiGg "youtube" https://www.youtube.com/feeds/videos.xml?channel_id=UCOCZxe0gNRA7c3PGWPGoiGg "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCgdTVe88YVSrOZ9qKumhULQ "youtube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCNVuLKaKdDhJSbZzdRvgrxQ "youtube"
https://www.jakeducey.com/feed/
https://medium.com/feed/@kentbeck_7670 "medium" https://medium.com/feed/@kentbeck_7670 "medium"
https://blog.gautamsuraj.com.np/rss.xml "blog" https://blog.gautamsuraj.com.np/rss.xml "blog"
https://vimtricks.substack.com/feed "blog" "vim" https://vimtricks.substack.com/feed "blog" "vim"
https://blog.ploeh.dk/atom.xml https://vimtricks.com/feed "blog" "vim"
https://lemmy.ml/feeds/c/programming.xml https://lemmy.ml/feeds/c/programming.xml
https://lemmy.ml/feeds/c/privacy.xml https://lemmy.ml/feeds/c/privacy.xml
+39 -7
View File
@@ -1,17 +1,27 @@
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'artur-shaik/vim-javacomplete2' "Plug 'artur-shaik/vim-javacomplete2'
"Plug 'apalmer1377/factorus' "Plug 'apalmer1377/factorus'
"Plug 'AndrewRadev/sideways.vim'
"Plug 'mechatroner/rainbow_csv'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
"Plug 'dense-analysis/ale' Plug 'neoclide/coc.nvim', {'branch': 'release'}
"Plug 'github/copilot.vim'
Plug 'dense-analysis/ale'
Plug 'vim-test/vim-test'
Plug 'tpope/vim-fugitive'
Plug 'mfussenegger/nvim-dap'
call plug#end() call plug#end()
" javacomplete2
autocmd FileType java setlocal omnifunc=javacomplete#Complete
let g:JavaComplete_ClosingBrace = 1
" javacomplete2
"autocmd FileType java setlocal omnifunc=javacomplete#Complete
let g:mapleader = " " let g:mapleader = " "
"let g:JavaComplete_ClosingBrace = 1
let g:netrw_liststyle = 3 let g:netrw_liststyle = 3
let g:netrw_banner = 0 let g:netrw_banner = 0
let g:netrw_winsize = 25 let g:netrw_winsize = 25
@@ -25,6 +35,10 @@ set ts=4 sw=4
set relativenumber number set relativenumber number
set nohlsearch set nohlsearch
set splitbelow splitright set splitbelow splitright
set clipboard+=unnamed,unnamedplus
set ignorecase
set smartcase
set showmatch
nnoremap <C-h> <C-w>h nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j nnoremap <C-j> <C-w>j
@@ -44,8 +58,8 @@ nnoremap <Leader>n :bn<CR>
nnoremap <Leader>t :!clear && make test<CR> nnoremap <Leader>t :!clear && make test<CR>
nnoremap <Leader>b :!clear && make package<CR> nnoremap <Leader>b :!clear && make package<CR>
nnoremap <Leader>m :make nnoremap <Leader>m :make
nnoremap <Leader>v :e ~/.vim/vimrc<CR> nnoremap <Leader>v :e ~/.config/nvim/init.vim<CR>
nnoremap <Leader>s :source ~/.vim/vimrc<CR> nnoremap <Leader>s :source ~/.config/nvim/init.vim<CR>
nnoremap <Leader>e :Vex<CR> nnoremap <Leader>e :Vex<CR>
nnoremap zz ZZ nnoremap zz ZZ
nnoremap zq ZQ nnoremap zq ZQ
@@ -54,6 +68,9 @@ nnoremap <Leader>j :m .+1<CR>
nnoremap <Leader>k :m .-2<CR> nnoremap <Leader>k :m .-2<CR>
vnoremap <Leader>j :m '>+1<CR> vnoremap <Leader>j :m '>+1<CR>
vnoremap <Leader>k :m '<-2<CR> vnoremap <Leader>k :m '<-2<CR>
nnoremap <Leader>h :SidewaysLeft<cr>
nnoremap <Leader>l :SidewaysRight<cr>
" guile " guile
nnoremap <Leader>gb gg^i#!/usr/bin/guile \<CR>-e main -s<CR>!#<CR><CR>(define (main args)<CR><CR>)<CR><Esc>kk nnoremap <Leader>gb gg^i#!/usr/bin/guile \<CR>-e main -s<CR>!#<CR><CR>(define (main args)<CR><CR>)<CR><Esc>kk
@@ -63,3 +80,18 @@ autocmd BufReadPost *.doc,*.docx silent %!antiword "%"
autocmd BufReadPost *.odt,*.odp silent %!odt2txt "%" autocmd BufReadPost *.odt,*.odp silent %!odt2txt "%"
autocmd BufReadPost *.pdf silent %!pdftotext -nopgbrk -layout -q -eol unix "%" - | fmt -w78 autocmd BufReadPost *.pdf silent %!pdftotext -nopgbrk -layout -q -eol unix "%" - | fmt -w78
autocmd BufWriteCmd *.pdf set readonly autocmd BufWriteCmd *.pdf set readonly
let g:ale_linters = {
\ 'java': ['checkstyle', 'javac', 'pmd'],
\}
let g:ale_fixers = {
\ 'java': ['google-java-format'],
\}
let g:ale_fix_on_save = 1
autocmd BufWritePre *.java :normal! gg=G " reformat java file on save
+26 -41
View File
@@ -1,49 +1,34 @@
Config { font = "xft:Jetbrains Mono:size=9:bold:antialias=true" Config { font = "Ubuntu Bold 9"
, additionalFonts = [ , additionalFonts = [ "Mononoki 11"
"xft:Mononoki Nerd Font:size=9:antialias=true:hinting=true" , "Font Awesome 6 Free Solid 12"
, "xft:FontAwesome:pixelsize=11" , "Font Awesome 6 Brands 12"
] ]
, borderColor = "black" , bgColor = "#1b2b34"
, border = TopB , fgColor = "#ffffff"
, bgColor = "black" , position = TopSize L 100 24
, fgColor = "grey"
, alpha = 125
, position = Top
, textOffset = -1
, iconOffset = -1
, lowerOnStart = True , lowerOnStart = True
, pickBroadest = False
, persistent = False
, hideOnStart = False , hideOnStart = False
, iconRoot = "."
, allDesktops = True , allDesktops = True
, overrideRedirect = True , persistent = True
, commands = [ Run Cpu [] 10 , iconRoot = ".xmonad/xpm/" -- default: "."
, Run Date "<fn=1>\xe721</fn>" "cpuicon" 36000 , commands = [
, Run Date "<fn=1>\xf85a</fn>" "memoryicon" 36000 Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
, Run Memory ["-t","Mem: <usedratio>%"] 10 , Run Com ".local/bin/kernel" [] "kernel" 36000
, Run Date "<fn=1>\xf9e1</fn>" "swapicon" 36000 , Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
, Run Swap [] 10 , Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
, Run Date "<fn=1>\xf133</fn> %a %b %d" "date" 1000 , Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
, Run Date "<fn=1>\xe381</fn>" "timeicon" 36000 , Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
, Run Date "%H:%M" "time" 10 , Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
, Run StdinReader , Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
, Run Date "<fn=1>\xfa7d</fn>" "volumeicon" 36000 , Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
, Run Com "volume" [] "volume" 10 , Run BatteryP ["BAT0"] ["-t", "<acstatus> (<left>%)"] 360
, Run Date "<fn=1>\xf240</fn>" "batteryicon" 36000 , Run Date "<fn=2>\xf017</fn> %a, %b %d %Y (%H:%M) " "date" 50
, Run Battery [ "--template" , Run Com "bash" ["-c", "/home/krrish/.config/xmobar/trayer-padding-icon.sh"] "trayerpad" 20
, "<acstatus>" , Run Com "echo" ["<fn=2>\xf132</fn> "] "shieldicon" 3600
, "--" -- battery specific options , Run UnsafeStdinReader
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<fc=00ff00>Charging</fc>"
-- charged status
, "-i" , "100%"
] 50
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "%StdinReader% | <fc=#2ecc71>%cpuicon% %cpu%</fc> | <fc=#d4ac0d>%memoryicon% %memory%</fc> | <fc=#2980b9>%swapicon%%swap%</fc> | }\ , template = " <action=`dmenu_run -c -l 9 -p run: `>%penguin%</action> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`st -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FAC863><fc=#FAC963><action=`st -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#6699cc><fc=#6699cc>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#EC5f67><fc=#EC5f67>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
\{ <fc=#9b59b6>%volumeicon% %volume%</fc> | <fc=#b66c59>%batteryicon% %battery%</fc> | <fc=#a2b659>%date%</fc> | <fc=#a91e62>%timeicon% %time%</fc> "
} }