diff options
author | ensa <psii@riseup.net> | 2020-05-30 02:01:43 -0700 |
---|---|---|
committer | ensa <psii@riseup.net> | 2020-05-30 02:27:02 -0700 |
commit | 310c76b161e680a698995d61b2a741a05b384fbe (patch) | |
tree | 39338035a918c2466d27f8041d3f6416830e84e1 /config | |
parent | 7c28231047f1b9c07ce6b85366afe1dce821cc7a (diff) | |
download | cfg-310c76b161e680a698995d61b2a741a05b384fbe.tar.gz |
new functionality, themes, man page
bin/ bar.sh: pipes spoon into dzen2 lh: added gemini/gopher handling with bombadillo shortened (no loss of functionality) opener: shortened (no loss of functionality) config/ X11/xprofile: added bar.sh aliasrc: just read it color/colors.sh: color environment variables, like wal's cwmrc: font specified as otb swapped oxbar with bar.sh ksh/ completions.ksh: added completions for shortcut functions diraliases: redone with self-references, more complete functions/ pcl: copies password for $1 to selection uses clip if two arguments pct: copies totp for $1 to selection uses clip if two arguments pkg_complete: uses cache diralias kshrc: added functions command fixed ensuring existence of HISTFILE's dir nvim/init.vim: deleted, no longer used vis/ themes/causalagency.lua: good colorscheme for vis themes/fake256.lua: scrapped visrc.lua: removed change-256color disable added cul nu ai youtube-dl/ config, config-music: fixed output dir zathura/zathurarc: specified cozette otb data/ applications/text.desktop now uses xterm and vis man/man7/user-hier.7 based off hier(7), describes structure of .. home directory
Diffstat (limited to 'config')
-rw-r--r-- | config/X11/xprofile | 2 | ||||
-rw-r--r-- | config/aliasrc | 47 | ||||
-rwxr-xr-x | config/color/colors.sh | 22 | ||||
-rw-r--r-- | config/cwmrc | 6 | ||||
-rw-r--r-- | config/ksh/completions.ksh | 2 | ||||
-rw-r--r-- | config/ksh/diraliases | 27 | ||||
-rw-r--r-- | config/ksh/functions/pcl | 8 | ||||
-rw-r--r-- | config/ksh/functions/pct | 8 | ||||
-rw-r--r-- | config/ksh/functions/pkg_complete | 2 | ||||
-rw-r--r-- | config/ksh/kshrc | 10 | ||||
-rw-r--r-- | config/nvim/init.vim | 107 | ||||
-rw-r--r-- | config/vis/themes/causalagency.lua | 63 | ||||
-rw-r--r-- | config/vis/themes/fake256.lua | 64 | ||||
-rw-r--r-- | config/vis/visrc.lua | 7 | ||||
-rw-r--r-- | config/youtube-dl/config | 2 | ||||
-rw-r--r-- | config/youtube-dl/config-music | 2 | ||||
-rw-r--r-- | config/zathura/zathurarc | 2 |
17 files changed, 183 insertions, 198 deletions
diff --git a/config/X11/xprofile b/config/X11/xprofile index 224386b..f376afa 100644 --- a/config/X11/xprofile +++ b/config/X11/xprofile @@ -19,5 +19,7 @@ unclutter -noevents & mpd & # and its scrobbler mpdas -c $HOME_ETC/mpdasrc & +# status bar +bar.sh & # remind user of important tasks bother & diff --git a/config/aliasrc b/config/aliasrc new file mode 100644 index 0000000..88d0ba7 --- /dev/null +++ b/config/aliasrc @@ -0,0 +1,47 @@ +#!/bin/sh +# a file containing POSIX shell-compliant aliases so aliases can be consistent between shells. +alias \ + l="/bin/ls"\ + ls="exa -Fb"\ + ll='exa -Fbl'\ + lg='exa -Fbl --git'\ + la='exa -Fba'\ + lynx='lynx -cookies-'\ + df='df -h'\ + du='du -h'\ + gs='git status --short --branch || ls'\ + gsh='git show'\ + gd='git diff'\ + gl='git log --graph --pretty=log'\ + gco='git checkout'\ + gb='git branch'\ + gm='git merge'\ + gst='git stash'\ + ga='git add'\ + gmv='git mv'\ + grm='git rm'\ + gc='git commit'\ + gca='gc --amend'\ + gt='git tag'\ + gp='git push'\ + gu='git pull'\ + gf='git fetch'\ + gr='git rebase'\ + gra='gr --abort'\ + grc='gr --continue'\ + grs='gr --skip'\ + cp='cp -v' \ + mv='mv -v'\ + sl='streamlink -p mpv'\ + pa='doas pkg_add -D snap'\ + pd='doas pkg_delete'\ + pi='pkg_info -D snap'\ + pl='pkglocate'\ + f="\$FILE"\ + e="\$EDITOR"\ + v="\$EDITOR"\ + yt='youtube-dl'\ + ya="youtube-dl --config-location \$XDG_CONFIG_HOME/youtube-dl/config-music" \ + unwww='bombadillo'\ + masto="tootstream -c $XDG_CONFIG_HOME/tootstream/tootstream.conf"\ + logout='clear&&exit' diff --git a/config/color/colors.sh b/config/color/colors.sh new file mode 100755 index 0000000..22116a1 --- /dev/null +++ b/config/color/colors.sh @@ -0,0 +1,22 @@ +#!/bin/sh +TMP=$(mktemp) +xrdb -query>$TMP +foreground=$(fgrep '*foreground:' < $TMP | cut -f 2) +background=$(fgrep '*background:' < $TMP | cut -f 2) +color0=$(fgrep '*color0:' < $TMP | cut -f 2) +color1=$(fgrep '*color1:' < $TMP | cut -f 2) +color2=$(fgrep '*color2:' < $TMP | cut -f 2) +color3=$(fgrep '*color3:' < $TMP | cut -f 2) +color4=$(fgrep '*color4:' < $TMP | cut -f 2) +color5=$(fgrep '*color5:' < $TMP | cut -f 2) +color6=$(fgrep '*color6:' < $TMP | cut -f 2) +color7=$(fgrep '*color7:' < $TMP | cut -f 2) +color8=$(fgrep '*color8:' < $TMP | cut -f 2) +color9=$(fgrep '*color9:' < $TMP | cut -f 2) +color10=$(fgrep '*color10:' < $TMP | cut -f 2) +color11=$(fgrep '*color11:' < $TMP | cut -f 2) +color12=$(fgrep '*color12:' < $TMP | cut -f 2) +color13=$(fgrep '*color13:' < $TMP | cut -f 2) +color14=$(fgrep '*color14:' < $TMP | cut -f 2) +color15=$(fgrep '*color15:' < $TMP | cut -f 2) +rm $TMP diff --git a/config/cwmrc b/config/cwmrc index 0ad3a5a..8539b13 100644 --- a/config/cwmrc +++ b/config/cwmrc @@ -12,7 +12,7 @@ autogroup 5 mpv autogroup 8 tabbed autogroup 9 pass #aesthetics -fontname "Cozette:pixelsize=11" +fontname "Cozette:style=Medium:pixelsize=11" borderwidth 1 color activeborder "#6b996b" color inactiveborder "#4c4635" @@ -37,7 +37,7 @@ bind-key 4C-d menu-window-hidden bind-key 4-Return terminal #bind-key 4S-Return "sh -c \"$TERMINAL -c popup" bind-key 4-e "sh -c \"$TERMINAL -e $EDITOR\"" -#bind-key 4S-e "sh -c \"$TERMINAL -t nvim -c popup -e env TERM=stterm-16color $EDITOR" +#bind-key 4S-e "sh -c \"$TERMINAL -c popup -e $EDITOR\"" bind-key 4-w "sh -c \"$BROWSER $HOMEPAGE\"" bind-key 4S-c "sh -c \"$COMM\"" bind-key 4-a "sh -c \"$TERMINAL -c pass -e kpcli --kdb=$XDG_DATA_HOME/KeePass/database.kdbx\"" @@ -71,7 +71,7 @@ bind-key 4CS-minus "xbacklight -dec 15" bind-key 4-x lock bind-key 4S-x "sh -c \"prompt 'shutdown computer?' 'doas shutdown -p now'\"" bind-key 4S-BackSpace "sh -c \"prompt 'reboot computer?' 'doas shutdown -r now'\"" -bind-key 4-b "sh -c \"pkill oxbar||oxbar -F $XDG_CONFIG_HOME/oxbar.conf\"" +bind-key 4-b "sh -c \"pkill dzen2||bar.sh\"" #window nav bind-key 4-j window-cycle bind-key 4-k window-rcycle diff --git a/config/ksh/completions.ksh b/config/ksh/completions.ksh index d241be8..d186615 100644 --- a/config/ksh/completions.ksh +++ b/config/ksh/completions.ksh @@ -36,6 +36,8 @@ update_complete_pass() { pass_list=$(pass ls) set -A complete_pass_1 -- init passphrase add import show export ls set -A complete_pass_2 -- $pass_list + set -A complete_pcl_1 -- $pass_list + set -A complete_pct_1 -- $pass_list } update_complete_pass pass_export() { pass export "$1" && update_complete_pass; } diff --git a/config/ksh/diraliases b/config/ksh/diraliases index 99f710d..4b469d6 100644 --- a/config/ksh/diraliases +++ b/config/ksh/diraliases @@ -1,12 +1,17 @@ #!/bin/ksh -alias -d "src=$HOME/src"\ - "vcs=$HOME/src/vcs"\ - "me=$HOME/src/me"\ - "ports=/usr/ports"\ - "conf=$XDG_CONFIG_HOME"\ - "data=$XDG_DATA_HOME"\ - "write=$HOME/doc/writing"\ - "crit=$HOME/doc/writing/critique"\ - "bin=$HOME/.local/bin"\ - "ksh=$HOME/.config/ksh"\ - "pass=$HOME/.local/share/pass" +alias -d src=~/src +alias -d git=~src/vcs +alias -d vcs=~/local/src +alias -d conf=$XDG_CONFIG_HOME +alias -d data=$XDG_DATA_HOME +alias -d cache=$XDG_CACHE_HOME +alias -d vis=~conf/vis +alias -d ksh=~conf/ksh +alias -d xdg=~/share/xdg +alias -d doc=~xdg/doc +alias -d pic=~xdg/pic +alias -d mus=~xdg/mus +alias -d vid=~xdg/vid +alias -d dl=~xdg/dl +alias -d bin=~/bin +alias -d pass=~data/pass diff --git a/config/ksh/functions/pcl b/config/ksh/functions/pcl new file mode 100644 index 0000000..42ad224 --- /dev/null +++ b/config/ksh/functions/pcl @@ -0,0 +1,8 @@ +#!/bin/ksh +function pcl { + if [ -z "$2" ]; then + pass show "$1"|head -1|xclip -l 1 -r + else + pass show "$1"|head -1|xclip -sel c -l 1 -r + fi +} diff --git a/config/ksh/functions/pct b/config/ksh/functions/pct new file mode 100644 index 0000000..b80abff --- /dev/null +++ b/config/ksh/functions/pct @@ -0,0 +1,8 @@ +#!/bin/ksh +function pct { + if [ -z "$2" ]; then + pass show "$1"|tail -1|xclip -l 1 -r + else + pass show "$1"|tail -1|xclip -sel c -l 1 -r + fi +} diff --git a/config/ksh/functions/pkg_complete b/config/ksh/functions/pkg_complete index ee1b9fb..2664527 100644 --- a/config/ksh/functions/pkg_complete +++ b/config/ksh/functions/pkg_complete @@ -1,5 +1,5 @@ #!/bin/ksh pkg_complete() { - set -A complete_pa -- $(<$HOME/.cache/ksh/precompletions/packages) + set -A complete_pa -- $(<~cache/ksh/precompletions/packages) set -A complete_pi -- $complete_pa } diff --git a/config/ksh/kshrc b/config/ksh/kshrc index 36350d0..e81bd97 100644 --- a/config/ksh/kshrc +++ b/config/ksh/kshrc @@ -1,14 +1,12 @@ #!/bin/ksh -. $HOME/.config/shrc +. $HOME/etc/shrc KSHCONFIG="$XDG_CONFIG_HOME/ksh" -if ! echo "$PATH"|grep -q ".local/bin"; then - export PATH="$HOME/.local/bin:$PATH" -fi FPATH=$XDG_CONFIG_HOME/ksh/functions +alias functions="cat \$FPATH/*|grep -vF '#!/bin/ksh'" HISTFILE=$XDG_DATA_HOME/ksh/histfile -if ! [[ -d $HISTFILE ]]; then - mkdir -p $HISTFILE; +if ! [[ -d $(dirname $HISTFILE) ]]; then + mkdir -p $(dirname $HISTFILE); fi HISTSIZE=5000 HISTCONTROL="ignoredups" diff --git a/config/nvim/init.vim b/config/nvim/init.vim deleted file mode 100644 index 64e6dfe..0000000 --- a/config/nvim/init.vim +++ /dev/null @@ -1,107 +0,0 @@ -" PLUGINS -" we plug now, babey -if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) - echo "Downloading junegunn/vim-plug to manage plugins..." - silent !mkdir -p ~/.config/nvim/autoload/ - silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim -endif -call plug#begin('~/.local/share/nvim/plugged') -" MatchTag -Plug 'gregsexton/matchtag' -" lightline.vim -Plug 'itchyny/lightline.vim' -" vim-fugitive -Plug 'tpope/vim-fugitive' -" vim-gitgutter -Plug 'airblade/vim-gitgutter' -" vim-surround -Plug 'tpope/vim-surround' -" JsBeautify -Plug 'maksimr/vim-jsbeautify' -" syntax checking -Plug 'vim-syntastic/syntastic' -" lf integration -Plug 'ptzz/lf.vim' -" req for lf.vim -Plug 'rbgrouleff/bclose.vim' -"""plugin graveyard -" END PLUGINS -"" recognize color tags -"Plug 'lilydjwg/colorizer' -"" VimCompletesMe -"Plug 'ajh17/VimCompletesMe' -call plug#end() - -" end of vim-plug related lines - -colo zellner - -" productivity binds - -" unbind arrow keys like some kind of neurotic chucklefuck -noremap <Up> <NOP> -noremap <Down> <NOP> -noremap <Left> <NOP> -noremap <Right> <NOP> -inoremap <Up> <NOP> -inoremap <Down> <NOP> -inoremap <Left> <NOP> -inoremap <Right> <NOP> - -"" JsBeautify binds -autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> -" for json -autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> -" for jsx -autocmd FileType jsx noremap <buffer> <c-f> :call JsxBeautify()<cr> -" for html -autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> -" for css or scss -autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> -"" and for visual mode: -autocmd FileType javascript vnoremap <buffer> <c-f> :call RangeJsBeautify()<cr> -" for json -autocmd FileType json vnoremap <buffer> <c-f> :call RangeJsonBeautify()<cr> -" for jsx -autocmd FileType jsx vnoremap <buffer> <c-f> :call RangeJsxBeautify()<cr> -" for html -autocmd FileType html vnoremap <buffer> <c-f> :call RangeHtmlBeautify()<cr> -" for css or scss -autocmd FileType css vnoremap <buffer> <c-f> :call RangeCSSBeautify()<cr> - -" syntastic config -set statusline+=%#warningmsg# -set statusline+=%{SyntasticStatuslineFlag()} -set statusline+=%* - -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 0 - -let g:syntastic_aggregate_errors = 1 -let g:syntastic_c_compiler = "cc" - -" lightline config -set noshowmode -let g:lightline = { - \ 'colorscheme': 'selenized_dark', - \ } - -" lf config -let g:lf_replace_netrw = 1 - -" betterize -set path+=** - -cno w!! exe 'sil! w !doas tee % >/dev/null' <bar> e! -nno <space> :noh<return><space> -" add a ctags shortcut like a shitty goblin -com! MakeTags !ctags ./* -" calcurse notes should be treated as markdown -autocmd BufRead,BufNewFile /tmp/calcurse* set filetype=markdown -autocmd BufRead,BufNewFile ~/.local/share/calcurse/notes/* set filetype=markdown -" ksh should work -autocmd FileType ksh let g:is_kornshell = 1 -" good folds -set foldmethod=marker diff --git a/config/vis/themes/causalagency.lua b/config/vis/themes/causalagency.lua new file mode 100644 index 0000000..723328a --- /dev/null +++ b/config/vis/themes/causalagency.lua @@ -0,0 +1,63 @@ +-- uses 24-bit color values, based off causalagency's scheme +local lexers = vis.lexers + +local colors = { + ['black'] = '#16150e', + ['red'] = '#a32810', + ['green'] = '#727a18', + ['brown'] = '#a37720', + ['blue'] = '#3d6266', + ['purp'] = '#7a4955', + ['cyan'] = '#557a55', + ['ligrey'] = '#8e8463', + ['dagrey'] = '#4c4635', + ['lired'] = '#cc3214', + ['ligreen'] = '#8e991e', + ['yellow'] = '#cc9528', + ['liblue'] = '#4c7b7f', + ['lipurp'] = '#995b6b', + ['licyan'] = '#6b996b', + ['white'] = '#ccbc8e', + ['back'] = '#14130e', + ['fore'] = '#b7a980', + ['sel'] = '#a34110', + ['curs'] = '#72694f', +} + +local fg = ',fore:'..colors.fore..',' +local bg = ',back:'..colors.back..',' + +lexers.STYLE_DEFAULT = bg..fg +lexers.STYLE_NOTHING = bg +lexers.STYLE_CLASS = 'fore:'..colors.yellow +lexers.STYLE_COMMENT = 'fore:'..colors.ligrey..',italics' +lexers.STYLE_CONSTANT = 'fore:'..colors.cyan +lexers.STYLE_DEFINITION = 'fore:'..colors.blue +lexers.STYLE_ERROR = 'back:'..colors.lired..fg..',italics' +lexers.STYLE_FUNCTION = 'fore:'..colors.cyan +lexers.STYLE_KEYWORD = 'fore:'..colors.liblue +lexers.STYLE_LABEL = 'fore:'..colors.yellow +lexers.STYLE_NUMBER = 'fore:'..colors.cyan +lexers.STYLE_OPERATOR = 'fore:'..colors.ligrey +lexers.STYLE_REGEX = 'fore:'..colors.ligreen +lexers.STYLE_STRING = 'fore:'..colors.cyan +lexers.STYLE_PREPROCESSOR = 'fore:'..colors.green +lexers.STYLE_TAG = 'fore:'..colors.green +lexers.STYLE_TYPE = 'fore:'..colors.licyan +lexers.STYLE_VARIABLE = 'fore:'..colors.licyan +lexers.STYLE_WHITESPACE = 'fore:'..colors.dagrey +lexers.STYLE_EMBEDDED = 'back:'..colors.lipurp +lexers.STYLE_IDENTIFIER = 'fore:'..colors.green + +lexers.STYLE_LINENUMBER = 'fore:'..colors.dagrey +lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.back..',fore:'..colors.ligrey +lexers.STYLE_CURSOR = 'fore:'..colors.curs..',reverse' +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',bold' +lexers.STYLE_CURSOR_LINE = 'fore:'..colors.dagrey +lexers.STYLE_COLOR_COLUMN = 'back:'..colors.dagrey +lexers.STYLE_SELECTION = 'back:'..colors.sel +lexers.STYLE_STATUS = 'fore:'..colors.ligrey..',back:'..colors.black +lexers.STYLE_STATUS_FOCUSED = 'fore:'..colors.dagrey..',back:'..colors.white +lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT +lexers.STYLE_INFO = lexers.STYLE_DEFAULT..',bold' +lexers.STYLE_EOF = '' diff --git a/config/vis/themes/fake256.lua b/config/vis/themes/fake256.lua deleted file mode 100644 index 7ed8f71..0000000 --- a/config/vis/themes/fake256.lua +++ /dev/null @@ -1,64 +0,0 @@ --- uses 24-bit color values to "trick" vis into using correct colors, based off vim's "zellner" -local lexers = vis.lexers - -local colors = { - ['col0'] = '#16150e', - ['col1'] = '#a32810', - ['col2'] = '#727a18', - ['col3'] = '#a37720', - ['col4'] = '#3d6266', - ['col5'] = '#7a4955', - ['col6'] = '#557a55', - ['col7'] = '#8e8463', - ['col8'] = '#4c4635', - ['col9'] = '#cc3214', - ['col10'] = '#8e991e', - ['col11'] = '#cc9528', - ['col12'] = '#4c7b7f', - ['col13'] = '#995b6b', - ['col14'] = '#6b996b', - ['col15'] = '#ccbc8e', -} --- dark -lexers.STYLE_DEFAULT ='back:default,fore:default' -- hi Normal -- correct -lexers.STYLE_COMMENT = 'fore:'..colors.col9 -- hi Comment -- correct -lexers.STYLE_CONSTANT = 'fore:'..colors.col13 -- hi Constant -- correct -lexers.STYLE_SPECIAL = 'back:'..colors.col5 -- hi Special -lexers.STYLE_IDENTIFIER = 'fore:default' -- hi Identifier -- correct -lexers.STYLE_STATEMENT = 'fore:'..colors.col1 -- hi Statementa -- correct -lexers.STYLE_PREPROCESSOR = 'fore:'..colors.col5 -- hi PreProc -lexers.STYLE_TYPE = 'fore:'..colors.col12 -- hi Type -- correct -lexers.STYLE_SELECTION = 'reverse' -- hi Visual -lexers.STYLE_TAG = 'fore:'..colors.col2 -- hi Tag -lexers.STYLE_ERROR = 'back:'..colors.col1..',fore:default,italics' -- hi Error -lexers.STYLE_STATUS = 'back:default,fore:'..colors.col4..',reverse' -- hi StatusLineNC -lexers.STYLE_STATUS_FOCUSED = lexers.STYLE_STATUS..',bold' -- hi StatusLine -lexers.STYLE_NOTHING = 'back:default' -- hi Ignore -lexers.STYLE_DEFINITION = 'fore:'..colors.col4 -- -lexers.STYLE_REGEX = 'fore:'..colors.col2 -- -lexers.STYLE_WHITESPACE = '' -- hi Whitespace -lexers.STYLE_OPERATOR = lexers.STYLE_DEFAULT - -lexers.STYLE_FUNCTION = lexers.STYLE_DEFAULT -lexers.STYLE_LINENUMBER = 'fore:default' -- hi LineNr -lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER -- hi CursorLineNr -lexers.STYLE_CURSOR = 'reverse' -- hi Cursor -lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' -- -lexers.STYLE_CURSOR_LINE = 'underlined' -- hi CursorLine -lexers.STYLE_COLOR_COLUMN = 'back:'..colors.col1 -- hi CursorColumn -lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT -- -lexers.STYLE_INFO = lexers.STYLE_DEFAULT..',bold' -- -lexers.STYLE_EOF = '' -- - --- links -lexers.STYLE_STRING = lexers.STYLE_CONSTANT -lexers.STYLE_NUMBER = lexers.STYLE_CONSTANT - -lexers.STYLE_VARIABLE = lexers.STYLE_IDENTIFIER - -lexers.STYLE_LABEL = lexers.STYLE_STATEMENT -lexers.STYLE_KEYWORD = lexers.STYLE_STATEMENT - -lexers.STYLE_EMBEDDED = lexers.STYLE_SPECIAL - -lexers.STYLE_CLASS = lexers.STYLE_TYPE diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index b194feb..d153cab 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -3,11 +3,12 @@ require('vis') vis.events.subscribe(vis.events.INIT, function() -- Your global configuration options - vis:command('set change-256colors off') - vis:command('set theme fake256') + vis:command('set theme causalagency') end) vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- Your per window configuration options e.g. - -- vis:command('set number') + vis:command('set cul') + vis:command('set nu') + vis:command('set ai') end) diff --git a/config/youtube-dl/config b/config/youtube-dl/config index 0b55e08..b9ec27f 100644 --- a/config/youtube-dl/config +++ b/config/youtube-dl/config @@ -2,7 +2,7 @@ # always use axel --external-downloader axel # coherent output format ---output ~/vid/%(uploader)s/%(title)s.%(ext)s +--output ~/share/xdg/vid/%(uploader)s/%(title)s.%(ext)s # always merge into mkv --merge-output-format mkv # embed subtitles if they are to be written diff --git a/config/youtube-dl/config-music b/config/youtube-dl/config-music index 5860766..1396246 100644 --- a/config/youtube-dl/config-music +++ b/config/youtube-dl/config-music @@ -3,4 +3,4 @@ # always use axel #--external-downloader axel # coherent output format ---output ~/mus/%(uploader)s/%(album)s/S%(track_number)02d-%(track)s.%(ext)s +--output ~/share/xdg/mus/%(uploader)s/%(album)s/S%(track_number)02d-%(track)s.%(ext)s diff --git a/config/zathura/zathurarc b/config/zathura/zathurarc index 65f0c55..1b370d2 100644 --- a/config/zathura/zathurarc +++ b/config/zathura/zathurarc @@ -32,4 +32,4 @@ set render-loading-fg "#ccbc8e" set window-title-home-tilde true set statusbar-basename true set selection-clipboard clipboard -set font "Cozette 10" +set font "Cozette Medium 11" |