Add 'search' script
+ Change Transmission client to stig + Edit Xresources colors + Edit nvim colors + Change pdf viewer in vifmrc to zathura + Bind 'search' script in sxhkdrc
This commit is contained in:
parent
a83b73154e
commit
ba8b56fe0f
@ -40,7 +40,7 @@ st.font: Monospace:pixelsize=13:antialias=true:autohint=true:hintstyle=hintmediu
|
||||
*.color11: #c9895b
|
||||
|
||||
! blue
|
||||
*.color4: #6f97b8
|
||||
*.color4: #385872
|
||||
*.color12: #6f97b8
|
||||
|
||||
! magenta
|
||||
|
@ -55,7 +55,7 @@ hi PmenuThumb ctermfg=8 ctermbg=8
|
||||
hi PmenuSbar ctermfg=0 ctermbg=0
|
||||
hi StatusLineNC ctermfg=8 ctermbg=NONE cterm=bold
|
||||
hi StatusLine ctermfg=14 ctermbg=NONE cterm=NONE
|
||||
hi MyStatuslineFilename ctermfg=4 ctermbg=NONE
|
||||
hi MyStatuslineFilename ctermfg=12 ctermbg=NONE
|
||||
hi MyStatuslineFiletype ctermfg=9 ctermbg=none cterm=italic
|
||||
|
||||
hi MyStatuslineLineCol ctermfg=1 ctermbg=none cterm=none
|
||||
@ -99,7 +99,7 @@ hi Constant ctermfg=3 cterm=none
|
||||
hi Identifier ctermfg=180
|
||||
hi Statement ctermfg=13 cterm=italic
|
||||
hi PreProc ctermfg=13
|
||||
hi Type ctermfg=4 cterm=bold
|
||||
hi Type ctermfg=12 cterm=bold
|
||||
hi Special ctermfg=135
|
||||
" hi Error ctermfg=0
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
super + Return
|
||||
$TERMINAL
|
||||
super + b
|
||||
$BROWSER
|
||||
super + shift + b
|
||||
$BROWSER
|
||||
super + b
|
||||
search
|
||||
super + ctrl + b
|
||||
torbrowser-launcher
|
||||
super + d
|
||||
rofi -show run
|
||||
|
@ -110,7 +110,7 @@ filetype *.ftp
|
||||
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %CLEAR,
|
||||
|
||||
" Pdf
|
||||
filextype *.pdf mupdf %c %i &, apvlv %c, xpdf %c
|
||||
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||
fileviewer *.pdf pdftotext -nopgbrk %c -
|
||||
|
||||
" PostScript
|
||||
|
17
.local/bin/scripts/search
Executable file
17
.local/bin/scripts/search
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Search in $BROWSER or use bookmarks from file.
|
||||
|
||||
bmfile="$HOME/.config/bookmarks"
|
||||
|
||||
m() { rofi -dmenu -width 600 -i -p "Search" -l "$(wc -l "$bmfile")" ;}
|
||||
|
||||
chosen="$(
|
||||
sed 's/http.*\/ //g' "$bmfile" | m
|
||||
)"
|
||||
[ ! "$chosen" ] && exit 0
|
||||
|
||||
url="$(grep "$chosen" "$bmfile" | awk '{ print $1 }')"
|
||||
[ ! "$url" ] && url="https://duckduckgo.com/?q=$chosen"
|
||||
|
||||
"$BROWSER" "$url"
|
@ -2,4 +2,4 @@
|
||||
|
||||
# Run torrent client.
|
||||
|
||||
"$TERMINAL" -e tremc
|
||||
"$TERMINAL" -e stig
|
||||
|
Loading…
x
Reference in New Issue
Block a user