font previews
This commit is contained in:
parent
3d3909574e
commit
2fd0585931
|
@ -50,7 +50,9 @@ bspc rule -a PdWindow state=floating
|
|||
bspc rule -a PatchWindow state=floating
|
||||
bspc rule -a Alacritty:flota state=floating
|
||||
bspc rule -a Toplevel state=floating
|
||||
bspc rule -a Sxiv:fontpreview state=floating
|
||||
bspc rule -a Firefox state=floating
|
||||
bspc rule -a Display state=floating
|
||||
|
||||
# Otros
|
||||
bspc rule -a Zathura state=tiled
|
||||
|
|
|
@ -37,6 +37,7 @@ cmd open ${{
|
|||
audio/*) mpv $f ;;
|
||||
video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;;
|
||||
application/pdf|application/cbz|application/cbr) setsid zathura $fx >/dev/null 2>&1 & ;;
|
||||
font/ttf|font/otf) setsid fontpreview $f ;;
|
||||
*) for f in $fx; do setsid $OPENER $f > /dev/null 2>&1 & done;;
|
||||
esac
|
||||
}}
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
"list.source.grep.args": ["--vimgrep", "--hiden", "--no-heading"],
|
||||
"list.source.mru.ignoreGitIgnore": true,
|
||||
"list.previewSplitRight": true,
|
||||
"python.analysis.diagnosticEnabled": false,
|
||||
"suggest.enablePreview": true,
|
||||
"suggest.snippetIndicator": " ⮞",
|
||||
"suggest.triggerCompletionWait": 100,
|
||||
|
|
|
@ -262,6 +262,9 @@ hi! PmenuThumb guifg=#333333
|
|||
hi! link CocErrorSign WarningMsg
|
||||
hi! link CocWarningSign Number
|
||||
hi! link CocInfoSign Type
|
||||
hi! CocUnderline gui=undercurl term=undercurl
|
||||
hi! CocErrorHighlight ctermfg=red guifg=#c4384b gui=undercurl term=undercurl
|
||||
hi! CocWarningHighlight ctermfg=yellow guifg=#c4ab39 gui=undercurl term=undercurl
|
||||
" }}}
|
||||
" Statusline {{{
|
||||
highlight User1 ctermfg=251 ctermbg=NONE guibg=NONE guifg=#c6c6c6
|
||||
|
|
|
@ -85,5 +85,5 @@ XF86MonBrightness{Down,Up}
|
|||
XF86AudioMute
|
||||
amixer sset Master toggle
|
||||
|
||||
XF86Audio{Raise,Lower}Volume
|
||||
amixer sset Master 2% {+,-}
|
||||
XF86Audio{Lower,Raise}Volume
|
||||
volu {down,up}
|
||||
|
|
|
@ -48,7 +48,7 @@ setopt AUTO_CONTINUE
|
|||
zstyle ':completion:*' list-colors $LS_COLORS
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
zstyle ':completion:*' matcher-list '' '+m:{[:lower:]}={[:upper:]}' '+m:{[:upper:]}={[:lower:]}' '+m:{_-}={-_}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*' format $'\n %F{yellow}--- %d ---%f'
|
||||
zstyle ':completion:*' list-separator "--"
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euf -o pipefail
|
||||
|
||||
function send_notification {
|
||||
icon="$HOME/.local/share/icons/Marwaita-Dark/24x24/actions/audio-on.svg"
|
||||
dunstify -i "$icon" -r 5555 -u low " $(awk -F"[][]" '/dB/ { print $2 }' <(amixer sget Master))"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
up)
|
||||
# increase volume by 5%
|
||||
amixer sset Master 5%+
|
||||
send_notification
|
||||
;;
|
||||
down)
|
||||
# decrease volume by 5%
|
||||
amixer sset Master 5%-
|
||||
send_notification
|
||||
;;
|
||||
esac
|
|
@ -1,6 +1,8 @@
|
|||
# Opciones basicas
|
||||
set -g default-terminal 'tmux-256color'
|
||||
set -as terminal-overrides ',alacritty:Tc'
|
||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
|
||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
|
||||
set -g set-clipboard on
|
||||
setw -gq utf8 on
|
||||
set -g mouse on
|
||||
|
@ -46,7 +48,7 @@ set -g status-left ''
|
|||
set -g status-right '#(txbar) #[fg=colour134]%a %d #[fg=colour167]%R #[fg=colour10]#S:#[fg=colour14]#I.#P'
|
||||
set -g window-status-separator ' '
|
||||
set -g window-status-current-style fg=colour3
|
||||
set -g window-status-activity-style bg=default,fg=colour15
|
||||
set -g window-status-activity-style bg=default,fg=colour15,italics
|
||||
set -g window-status-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}'
|
||||
set -g window-status-current-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}'
|
||||
|
||||
|
|
Reference in New Issue