Browse Source

2020-11-28

master
RinRi 3 years ago
parent
commit
a92c592202
28 changed files with 33 additions and 133 deletions
  1. +2
    -0
      .Xresources
  2. +0
    -0
      .config/dunst/dunstrc
  3. +0
    -0
      .config/nvim/.netrwhist
  4. +2
    -0
      .config/nvim/init.vim
  5. +0
    -12
      .config/nvim/nvim/.netrwhist
  6. +0
    -114
      .config/nvim/nvim/init.vim
  7. +0
    -0
      .gitignore
  8. +6
    -1
      .xinitrc
  9. +0
    -0
      .zshrc
  10. +2
    -4
      README.md
  11. BIN
      clear.png
  12. BIN
      cmus.png
  13. BIN
      dunst.png
  14. BIN
      firefox.png
  15. BIN
      neofetch.png
  16. +3
    -0
      scripts/.gitignore
  17. +0
    -1
      scripts/autostart.sh
  18. +7
    -0
      scripts/color.sh
  19. +1
    -0
      scripts/daily.sh
  20. +4
    -0
      scripts/edu.sh
  21. +1
    -0
      scripts/funnymic.sh
  22. +1
    -0
      scripts/naruto.sh
  23. +1
    -0
      scripts/normalmic.sh
  24. +1
    -0
      scripts/status/brightness.sh
  25. +2
    -1
      scripts/xinit.sh
  26. BIN
      vim.png
  27. +0
    -0
      wall.kra
  28. +0
    -0
      wall.png

+ 2
- 0
.Xresources View File

@@ -1,3 +1,5 @@
Xcursor.size: 20

! special
*.foreground: #ffffff
*.background: #1f1f2b


+ 0
- 0
.config/dunst/dunstrc View File


+ 0
- 0
.config/nvim/.netrwhist View File


+ 2
- 0
.config/nvim/init.vim View File

@@ -19,6 +19,8 @@ call plug#begin('~/.vim/plugged')
Plug 'junegunn/goyo.vim' " Distraction-free viewing
Plug 'junegunn/limelight.vim' " Hyperfocus on a range
Plug 'junegunn/vim-emoji' " Vim needs emojis!
"{{ Language specific }}
Plug 'mattn/emmet-vim' " Emmet for web-gay developing

call plug#end()



+ 0
- 12
.config/nvim/nvim/.netrwhist View File

@@ -1,12 +0,0 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =7
let g:netrw_dirhist_7='/etc/runit/runsvdir/default/lightdm/supervise'
let g:netrw_dirhist_6='/etc/runit/runsvdir/default/lightdm'
let g:netrw_dirhist_5='/etc/runit/runsvdir/default/alsa'
let g:netrw_dirhist_4='/etc/alsa/conf.d'
let g:netrw_dirhist_3='/home/rinri/.local/share/osu'
let g:netrw_dirhist_2='/home/rinri/.local/share/osu/files'
let g:netrw_dirhist_1='/home/rinri/.local/share/osu/files/8'
let g:netrw_dirhist_0='/home/rinri/.local/share/osu/files'
let g:netrw_dirhist_9='/home/rinri/.local/share/osu'
let g:netrw_dirhist_8='/home/rinri/.local/share/osu/screenshots'

+ 0
- 114
.config/nvim/nvim/init.vim View File

@@ -1,114 +0,0 @@
call plug#begin('~/.vim/plugged')

"{{ The Basics }}
Plug 'gmarik/Vundle.vim' " Vundle
Plug 'joshdick/onedark.vim' " Colors
Plug 'itchyny/lightline.vim' " Lightline statusbar
Plug 'suan/vim-instant-markdown', {'rtp': 'after'} " Markdown Preview
Plug 'frazrepo/vim-rainbow'
"{{ File management }}
Plug 'vifm/vifm.vim' " Vifm
Plug 'scrooloose/nerdtree' " Nerdtree
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' " Highlighting Nerdtree
Plug 'ryanoasis/vim-devicons' " Icons for Nerdtree
"{{ Tim Pope Plugins }}
Plug 'tpope/vim-surround' " Change surrounding marks
"{{ Syntax Highlighting and Colors }}
Plug 'ap/vim-css-color' " Color previews for CSS
"{{ Junegunn Choi Plugins }}
Plug 'junegunn/goyo.vim' " Distraction-free viewing
Plug 'junegunn/limelight.vim' " Hyperfocus on a range
Plug 'junegunn/vim-emoji' " Vim needs emojis!
"{{ Language specific }}
Plug 'mattn/emmet-vim' " Emmet for web-gay developing

call plug#end()

" colorscheme
syntax on

" brackets
inoremap " ""<left>
inoremap ' ''<left>
inoremap ( ()<left>
inoremap [ []<left>
inoremap { {}<left>
inoremap {<CR> {<CR>}<ESC>O
inoremap {;<CR> {<CR>};<ESC>O

" markdown
let g:instant_markdown_browser = "st surf"

" Make Vim more useful
set nocompatible
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
set clipboard+=unnamedplus
" Enhance command-line completion
set wildmenu
" Disables automatic commenting on newline:
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
" Allow cursor keys in insert mode
" Allow backspace in insert mode
set backspace=indent,eol,start
" Optimize for fast terminal connections
set ttyfast
" Add the g flag to search/replace by default
set gdefault
" Use UTF-8 without BOM
set encoding=utf-8
" Change mapleader
let mapleader=","
" Don’t add empty newlines at the end of files
set binary
set noeol

" 256 colors
set t_Co=256
" Respect modeline in files
set modeline
set modelines=4
" Enable per-directory .vimrc files and disable unsafe commands in them
set exrc
set secure
" Enable line numbers
set number
" Make tabs as wide as two spaces
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
" Highlight searches
set hlsearch
" Ignore case of searches
set ignorecase
" Highlight dynamically as pattern is typed
set incsearch
" Always show status line
set laststatus=2
" Enable mouse in all modes
set mouse=a
" Disable error bells
set noerrorbells
" Don’t reset cursor to start of line when moving around.
set nostartofline
" Show the cursor position
set ruler
" Don’t show the intro message when starting Vim
set shortmess=atI
" Show the current mode
set showmode
" Show the filename in the window titlebar
set title
" Show the (partial) command as it’s being typed
set showcmd
" Use relative line numbers
if exists("&relativenumber")
set relativenumber
au BufReadPost * set relativenumber
endif
" Start scrolling three lines before the horizontal window border
set scrolloff=3

map <Leader>c :w! \| !pdflatex <c-r>%<CR><CR>
map <Leader>t :!st&<CR><CR>
vnoremap <C-c> "+y

+ 0
- 0
.gitignore View File


+ 6
- 1
.xinitrc View File

@@ -1,2 +1,7 @@
export PATH=$PATH:/home/rinri/scripts
exec dwm
while true; do
# Log stderror to a file
dwm 2> ~/.dwm.log
# No error logging
#dwm >/dev/null 2>&1
done

+ 0
- 0
.zshrc View File


+ 2
- 4
README.md View File

@@ -5,13 +5,11 @@
- Terminal: [st](https://st.suckless.org/)
- Editor: [neovim](https://neovim.io/)
- Font: DejaVuMono Nerd Patched
- File manager: [lf](https://github.com/gokcehan/lf)
- Music player: [cmus](https://github.com/cmus/cmus)
- Video player: [mpv](https://mpv.io/)
- Notifications: [Dunst](https://github.com/dunst-project/dunst)
- Status bar: [slstatus](https://tools.suckless.org/slstatus/)
- Email client: [neomutt](https://neomutt.org/) + [thunderbird](https://www.thunderbird.net)
- News(RSS) client: [newsboat](https://newsboat.org/) + [akregator](https://userbase.kde.org/Akregator)
- Wallpaper: [pixiv](https://www.pixiv.net/en/artworks/23346358)

## Screenshots
@@ -19,10 +17,10 @@
### Clear:
![clear](clear.png)

### Neofetch + ranger:
### Neofetch:
![neofetch](neofetch.png)

### Music player with mixer(cmus + pulsemixer):
### Music player and mixer(cmus + pulsemixer):
![cmus](cmus.png)

### Text editor(neovim):


BIN
clear.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 851 KiB Width: 1920  |  Height: 1080  |  Size: 852 KiB

BIN
cmus.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 562 KiB Width: 1920  |  Height: 1080  |  Size: 570 KiB

BIN
dunst.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 549 KiB Width: 1920  |  Height: 1080  |  Size: 388 KiB

BIN
firefox.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 533 KiB Width: 1920  |  Height: 1080  |  Size: 164 KiB

BIN
neofetch.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 537 KiB Width: 1920  |  Height: 1080  |  Size: 835 KiB

+ 3
- 0
scripts/.gitignore View File

@@ -0,0 +1,3 @@
anime.sh
upload.sh
download.sh

+ 0
- 1
scripts/autostart.sh View File

@@ -1 +0,0 @@
cmus

+ 7
- 0
scripts/color.sh View File

@@ -0,0 +1,7 @@
echo -en "\033[31m" ## red
eval $* | while read line; do
echo -en "\033[36m" ## blue
echo $line
echo -en "\033[31m" ## red
done
echo -en "\033[0m" ## reset color

+ 1
- 0
scripts/daily.sh View File

@@ -0,0 +1 @@
notify-send "Daily Fortune" "$(fortune|cowsay)"

+ 4
- 0
scripts/edu.sh View File

@@ -0,0 +1,4 @@
firefox "https://us02web.zoom.us/j/3320211101" &
telegram-desktop &
zoom &
ripcord &

+ 1
- 0
scripts/funnymic.sh View File

@@ -0,0 +1 @@
pactl set-source-volume alsa_input.pci-0000_04_00.6.analog-stereo 400%

+ 1
- 0
scripts/naruto.sh View File

@@ -0,0 +1 @@
st mpv /mnt/rec/Media/Naruto\ Music\ Collection\ \(FLAC\)/Naruto/NARUTO\ Original\ Soundtrack/07\ -\ Renewed\ Will\ to\ Fight.flac

+ 1
- 0
scripts/normalmic.sh View File

@@ -0,0 +1 @@
pactl set-source-volume alsa_input.pci-0000_04_00.6.analog-stereo 20%

+ 1
- 0
scripts/status/brightness.sh View File

@@ -0,0 +1 @@
echo "$(brightnessctl g)/$(brightnessctl m)*100" | bc -l | awk '{printf("%d\n",$1 + 0.5)}'

+ 2
- 1
scripts/xinit.sh View File

@@ -2,4 +2,5 @@ setxkbmap -layout us,ru -option grp:alt_shift_toggle &
xrdb ~/.Xresources &
feh --bg-scale ~/Documents/Pictures/wall.png &
picom &
pulseaudio --no-cpu-limit --high-priority --realtime &
pulseaudio -D &
xautolock -time 5 -locker slock &

BIN
vim.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 416 KiB Width: 1920  |  Height: 1080  |  Size: 507 KiB

+ 0
- 0
wall.kra View File


+ 0
- 0
wall.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 957 KiB Width: 1920  |  Height: 1080  |  Size: 957 KiB

Loading…
Cancel
Save