dots

git clone git://mattcarlson.org/repos/dots.git
Log | Files | Refs

commit 56057a5e6d03e51bf947254f8222e6f7207e0330
parent cafca2ced041989eccf7a317ed8c1876c305438e
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Mon,  2 Aug 2021 13:37:35 -0400

dic and config stuff

Diffstat:
A.config/gtk-3.0/settings.ini | 20++++++++++++++++++++
M.config/ncmpcpp/config | 4++--
M.config/sh/aliasrc | 15++++++++-------
M.config/sh/profile | 2++
M.config/x/xprofile | 2+-
M.config/ytfzf/ytfzf.sh | 4++--
M.config/zathura/zathurarc | 71+++++++++++++++++++++++++++++++++++++++--------------------------------
M.local/bin/wm.sh | 2+-
M.local/bin/wp.sh | 3++-
9 files changed, 77 insertions(+), 46 deletions(-)

diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini @@ -0,0 +1,20 @@ +[Settings] +gtk-cursor-blink-time = 0 +gtk-cursor-blink-timeout = 0 +gtk-cursor-blink = 0 +gtk-cursor-theme-size = 0 +gtk-enable-accels = 0 +gtk-enable-animations = 0 +gtk-enable-event-sounds = 0 +gtk-enable-input-feedback-sounds = 0 +gtk-error-bell = 0 +gtk-font-name = Sans 12 +gtk-recent-files-enabled = 0 +gtk-recent-files-max-age = 0 +gtk-theme-name = FlatColor +gtk-xft-antialias = 1 +gtk-xft-dpi = -1 +gtk-xft-hinting = 1 +gtk-xft-hintstyle = hintmedium +gtk-xft-rgba = rgb +gtk_application_prefer_dark_theme = 1 diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config @@ -8,7 +8,7 @@ alternative_header_first_line_format = $b$3$aqqu$/a$9 {%t}|{%f} $3$atqq$/a$9$/b alternative_header_second_line_format = {{$b$8%b}{ (%y)}}|{%D} current_item_prefix = $(green)$r current_item_inactive_column_prefix = $(green)$r -browser_playlist_prefix = "$3playlist " +browser_playlist_prefix = '$3playlist ' selected_item_prefix = $3 selected_item_suffix = $3 modified_item_prefix = $3 @@ -18,9 +18,9 @@ volume_change_step = 1 user_interface = alternative media_library_primary_tag = genre media_library_hide_album_dates = no -connected_message_on_startup = no header_text_scrolling = no cyclic_scrolling = yes +display_volume_level = no colors_enabled = yes empty_tag_color = green main_window_color = green diff --git a/.config/sh/aliasrc b/.config/sh/aliasrc @@ -22,8 +22,9 @@ alias \ # gnu/linux alias \ - free='free -m' \ - ft='grep -nwIR' \ + def='sdcv -u '\''en-wiktionary'\''' \ + free='free -m' \ + ft='grep -nwIR' \ o='open.sh' # startx @@ -66,9 +67,9 @@ alias dots='/usr/bin/git --git-dir=${HOME}/.dots/ --work-tree=${HOME}' # youtube alias \ - yt="youtube-dl -i -o \"${DOWNLOADS_DIR}/%(uploader)s/%(title)s.%(ext)s\" --add-metadata" \ - yta='yt -f bestaudio/best -x' \ - ytp="youtube-dl -i -o \"${DOWNLOADS_DIR}/%(uploader)s/%(playlist_index)s-%(title)s.%(ext)s\" --add-metadata" \ - ytpa='ytp -f bestaudio/best -x' \ - ytall='yt -cw -f best' \ + yt='youtube-dl -i -o "${DOWNLOADS_DIR}/%(uploader)s/%(title)s.%(ext)s" --add-metadata' \ + yta='yt -f bestaudio/best -x' \ + ytp='youtube-dl -i -o "${DOWNLOADS_DIR}/%(uploader)s/%(playlist_index)s-%(title)s.%(ext)s" --add-metadata' \ + ytpa='ytp -f bestaudio/best -x' \ + ytall='yt -cw -f best' \ ytw='ytfzf' diff --git a/.config/sh/profile b/.config/sh/profile @@ -35,6 +35,7 @@ export HISTFILE='' export XAUTHORITY="${XDG_RUNTIME_DIR}/xauth" export YTFZF_CONFIG_DIR="${XDG_CONFIG_HOME:-${HOME}/.config}/ytfzf/" export YTFZF_CONFIG_FILE="${YTFZF_CONFIG_DIR}/ytfzf.sh" +export STARDICT_DATA_DIR="${XDG_DATA_HOME:-${HOME}/.local/share/}" # folders export DEV_DIR="${HOME}/dev/" @@ -121,6 +122,7 @@ export FZF_DEFAULT_OPTS=' # clean up export LESSHISTFILE=- +export SDCV_HISTFILE='/dev/null' # sx [ -z "${DISPLAY}" ] && [ "$(tty)" = /dev/tty1 ] && ssh-agent sx diff --git a/.config/x/xprofile b/.config/x/xprofile @@ -7,5 +7,5 @@ lock.sh & "${BAR}" & feh --no-fehbg --bg-scale "${XDG_DATA_HOME:-${HOME}/.local/share}/wp" xcompmgr & -xset r rate 250 50 mpd & +xset r rate 250 50 diff --git a/.config/ytfzf/ytfzf.sh b/.config/ytfzf/ytfzf.sh @@ -12,10 +12,10 @@ YTFZF_NOTI=0 enable_search_hist_menu=0 show_thumbnails=1 search_again=1 -preview_side="right" +preview_side='right' sort_videos_data=1 enable_search_hist=0 allow_empty_search_hist=0 # fzf default opts -FZF_DEFAULT_OPTS="--color fg:7,preview-fg:2,hl:2,fg+:0,bg+:2,gutter:2,hl+:7,info:2,border:2,prompt:2,pointer:2,marker:2,spinner:2,header:2" +FZF_DEFAULT_OPTS='--color fg:7,preview-fg:2,hl:2,fg+:0,bg+:2,gutter:2,hl+:7,info:2,border:2,prompt:2,pointer:2,marker:2,spinner:2,header:2' diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -1,46 +1,53 @@ ### Settings from original zathurarc ### -set selection-clipboard clipboard +set adjust-open 'best-fit' +set page-padding '1' +set render-loading 'false' +set sandbox 'none' +set selection-clipboard 'clipboard' +set smooth-scroll 'true' +set statusbar-home-tilde 'true' +set window-title-home-tilde 'true' ### zathura-pywal ### # Allow recolor -set recolor "true" +set recolor 'true' # Don't allow original hue when recoloring -set recolor-keephue "false" +set recolor-keephue 'false' # Don't keep original image colors while recoloring -set recolor-reverse-video "false" +set recolor-reverse-video 'false' # Command line completion entries -set completion-fg "#c5d1dc" -set completion-bg "#121613" +set completion-fg '#c5d1dc' +set completion-bg '#121613' # Command line completion group elements -set completion-group-fg "#6F92AF" -set completion-group-bg "#121613" +set completion-group-fg '#6F92AF' +set completion-group-bg '#121613' # Current command line completion element -set completion-highlight-fg "#121613" -set completion-highlight-bg "#c5d1dc" +set completion-highlight-fg '#121613' +set completion-highlight-bg '#c5d1dc' # Default foreground/background color -set default-bg rgba(18,22,19,1) +set default-bg rgba(18,22,19,0.95) # Input bar -set inputbar-fg "#c5d1dc" -set inputbar-bg "#121613" +set inputbar-fg '#c5d1dc' +set inputbar-bg '#121613' # Notification -set notification-fg "#c5d1dc" -set notification-bg "#121613" +set notification-fg '#c5d1dc' +set notification-bg '#121613' # Error notification -set notification-error-fg "#c5d1dc" -set notification-error-bg "#C3619A" +set notification-error-fg '#c5d1dc' +set notification-error-bg '#C3619A' # Warning notification -set notification-warning-fg "#c5d1dc" -set notification-warning-bg "#C3619A" +set notification-warning-fg '#c5d1dc' +set notification-warning-bg '#C3619A' # Tab - TODO # set tabbar-fg @@ -51,25 +58,25 @@ set notification-warning-bg "#C3619A" # set tabbar-focus-bg # Status bar -set statusbar-fg "#c5d1dc" -set statusbar-bg "#121613" +set statusbar-fg '#c5d1dc' +set statusbar-bg '#121613' # Highlighting parts of the document (e.g. show search results) -set highlight-color "#6F92AF" -set highlight-active-color "#6F92AF" +set highlight-color '#6F92AF' +set highlight-active-color '#6F92AF' # Represent light/dark colors in recoloring mode set recolor-lightcolor rgba(0,0,0,0) -set recolor-darkcolor "#c5d1dc" +set recolor-darkcolor '#c5d1dc' -# "Loading..." text -set render-loading-fg "#c5d1dc" -set render-loading-bg "#121613" +# 'Loading...' text +set render-loading-fg '#c5d1dc' +set render-loading-bg '#121613' # Index mode -set index-fg "#c5d1dc" -set index-bg "#121613" +set index-fg '#c5d1dc' +set index-bg '#121613' # Selected element in index mode -set index-active-fg "#121613" -set index-active-bg "#c5d1dc" -\ No newline at end of file +set index-active-fg '#121613' +set index-active-bg '#c5d1dc' +\ No newline at end of file diff --git a/.local/bin/wm.sh b/.local/bin/wm.sh @@ -2,4 +2,4 @@ # # wm -while true; do "${WM}" >/dev/null 2>&1; done +while :; do "${WM}" >/dev/null 2>&1; done diff --git a/.local/bin/wp.sh b/.local/bin/wp.sh @@ -2,6 +2,7 @@ # # wp +ALPHA=0.95 # wp is sym link WP="${XDG_DATA_HOME:-${HOME}/.local/share}/wp" # 16 colors generated by pywal @@ -117,7 +118,7 @@ theme() { dwmc reload # zathura - zathura-pywal + zathura-pywal -a ${ALPHA} } main() {