From 46141fa54b7a21d78282896bb70667dc25e49684 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 24 Apr 2021 18:22:52 +0530 Subject: fixed error when starting up startpage server --- .config/XMonad/xmonad.hs | 4 ++-- .config/nvim/.netrwhist | 4 ++++ .config/nvim/init.vim | 10 ++++++++++ .config/zsh/.zshrc | 17 +++++++++++++---- .xinitrc | 2 +- .zprofile | 4 +++- README.md | 5 +++-- 7 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 .config/nvim/.netrwhist diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index bdcdf05..6f04455 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -60,8 +60,8 @@ myStartupHook :: X () myStartupHook = do spawnOnce "start-lemonbar.sh" spawnOn " 二 " "firefox" - setWMName "AnimeThighsWM" - -- setWMName "LG3D" + -- setWMName "AnimeThighsWM" + setWMName "LG3D" setDefaultCursor xC_left_ptr -- defaults diff --git a/.config/nvim/.netrwhist b/.config/nvim/.netrwhist new file mode 100644 index 0000000..3251cdf --- /dev/null +++ b/.config/nvim/.netrwhist @@ -0,0 +1,4 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhistcnt =2 +let g:netrw_dirhist_2='/zt/Docs/WebDev/react-practise/openbills/src/server/build/static' +let g:netrw_dirhist_1='/zt/Docs/WebDev/react-practise/openbills/build' diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a0372fb..c75b61e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -75,6 +75,16 @@ let g:Hexokinase_highlighters = ['virtual'] let g:vim_jsx_pretty_highlight_close_tag = 1 let g:vim_jsx_pretty_colorful_config = 1 +" for tab stop +filetype plugin indent on +" On pressing tab, insert 2 spaces +set expandtab +" show existing tab with 2 spaces width +set tabstop=2 +set softtabstop=2 +" when indenting with '>', use 2 spaces width +set shiftwidth=2 + " set filetypes as typescriptreact " augroup SyntaxSettings " autocmd! diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 5e33606..2a3ba12 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -9,13 +9,18 @@ bindkey -v # paths # export PATH=/:$PATH export PATH=/zt/Docs/Go:$PATH +export GOPATH="/zt/Docs/Go/" + +export PATH=/zt/Programs/flutter/bin:$PATH + export PATH=/home/zt/.scripts:$PATH export PATH=/zt/Programs:$PATH export PATH=/home/zt/.local/bin:$PATH -export PATH=/usr/local/bin:$PATH export PATH=/home/zt/.emacs.d/bin:$PATH -export GOPATH="/zt/Docs/Go/" +export PATH=/usr/local/bin:$PATH + + # aliases # directories @@ -36,7 +41,6 @@ alias lsa='exa -al' alias nf='neofetch' alias adbc='adb connect 10.0.0.51:5555' alias x='chmod +x' - # git alias gs='git status' alias ga='git add' @@ -64,7 +68,12 @@ alias ssh-v='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/vidhukant' # to change title of terminal title() { - echo -n -e "\033]0;$@\007" + echo -n -e "\033]0;$@\007" +} + +# record screen +srecord() { + ffmpeg -f x11grab -s 1366x768 -i :0.0 $@ } neofetch diff --git a/.xinitrc b/.xinitrc index d12f35e..8ab8538 100644 --- a/.xinitrc +++ b/.xinitrc @@ -49,6 +49,6 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then fi nitrogen --restore & -startpage-server & +# startpage-server & picom & exec xmonad diff --git a/.zprofile b/.zprofile index df7308c..660aa8a 100644 --- a/.zprofile +++ b/.zprofile @@ -4,7 +4,7 @@ export TERMINAL="st" export BROWSER="firefox" export READER="zathura" export COLORTERM="truecolor" -export PAGER="vim" +export PAGER="less" export WM="xmonad" export QT_QPA_PLATFORMTHEME=gtk2 @@ -14,3 +14,5 @@ startx if [[ "$(tty)" = "dev/tty1" ]]; then startx fi + +/zt/Programs/startpage-server & disown # errors out without disown diff --git a/README.md b/README.md index d30a736..741a7d3 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,11 @@ These are my dotfiles, they include things like window manager configs and text Idk if I need to licence config files so I'll leave it like that for now. You can check out these files and do really whatever with it. If you don't know what dotfiles or window managers are, just do a -> sudo apt install bspwm sxhkd +> sudo apt install bspwm sxhkd > sudo pacman -S bspwm sxhkd - > sudo dnf install bspwm sxhkd Whichever seems more familiar, run that one in your terminal and magic will happen + +##btw, the images I use in my startpage aint mine I'm shit at drawing. I got them from Pixiv or something and they belong to their respective oweners/owners. -- cgit v1.2.3