Updated
This commit is contained in:
parent
02199e6f6b
commit
265d46bf29
19 changed files with 14303 additions and 6458 deletions
|
@ -1,18 +1,13 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
## ____ __
|
|
||||||
## / __ \_________ _/ /_____
|
|
||||||
## / / / / ___/ __ `/ //_/ _ \
|
|
||||||
## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake)
|
|
||||||
## /_____/_/ \__,_/_/|_|\___/ My custom bash_profile config
|
|
||||||
##
|
|
||||||
#
|
|
||||||
|
|
||||||
# Home folders
|
# Home folders
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
|
||||||
|
# X11
|
||||||
export X11CFGDIR="$XDG_CONFIG_HOME/X11"
|
export X11CFGDIR="$XDG_CONFIG_HOME/X11"
|
||||||
|
export X11LOGDIR="$XDG_CACHE_HOME/X11Logs"
|
||||||
export XINITRC="$X11CFGDIR/xinitrc"
|
export XINITRC="$X11CFGDIR/xinitrc"
|
||||||
|
|
||||||
# Sanely export XDG Base dir variables
|
# Sanely export XDG Base dir variables
|
||||||
|
@ -39,12 +34,13 @@ export VIEWER="zathura"
|
||||||
source "$BASHRC"
|
source "$BASHRC"
|
||||||
|
|
||||||
# Create config directories if they don't exist
|
# Create config directories if they don't exist
|
||||||
if [ ! -d "$WGETDIR" ] || [ ! -d "$GNUPGHOME" ]; then
|
if [ ! -d "$WGETDIR" ] || [ ! -d "$GNUPGHOME" ] || [ ! -d "$X11LOGDIR" ]; then
|
||||||
mkdir -p "$WGETDIR" "$GNUPGHOME"
|
mkdir -p "$WGETDIR" "$GNUPGHOME" "$X11LOGDIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Starting xsession
|
# Starting xsession
|
||||||
|
export X11LOGFILE=$(mktemp --tmpdir="$X11LOGDIR" X11LOG.XXXXXX)
|
||||||
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
startx "$XINITRC" -- vt1 -keeptty &>/dev/null
|
startx "$XINITRC" -- vt1 -keeptty &>> "$X11LOGFILE"
|
||||||
logout
|
logout
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -4,7 +4,7 @@ export HISTCONTROL=ignoredups:erasedups # no duplicate entries
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
|
|
||||||
### "bat" as manpager
|
### "bat" as manpager
|
||||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
export MANPAGER="bat -p"
|
||||||
|
|
||||||
# use bash-completion, if available
|
# use bash-completion, if available
|
||||||
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||||
|
@ -110,6 +110,11 @@ function up () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# unlock ssh keys
|
||||||
|
function unlock() {
|
||||||
|
ssh-add "$HOME/.ssh/$1"
|
||||||
|
}
|
||||||
|
|
||||||
# cd
|
# cd
|
||||||
alias \
|
alias \
|
||||||
..="cd .." \
|
..="cd .." \
|
||||||
|
@ -178,9 +183,9 @@ alias \
|
||||||
# audio
|
# audio
|
||||||
alias \
|
alias \
|
||||||
mx="pulsemixer" \
|
mx="pulsemixer" \
|
||||||
mk="cmus" \
|
mk="musikcube" \
|
||||||
ms="cmus" \
|
ms="musikcube" \
|
||||||
music="cmus"
|
music="musikcube"
|
||||||
|
|
||||||
# power management
|
# power management
|
||||||
alias \
|
alias \
|
||||||
|
@ -229,6 +234,7 @@ alias \
|
||||||
wfi-off="nmcli radio wifi off" \
|
wfi-off="nmcli radio wifi off" \
|
||||||
blt="bluetoothctl"
|
blt="bluetoothctl"
|
||||||
|
|
||||||
|
### PROMPT
|
||||||
# get current branch in git repo
|
# get current branch in git repo
|
||||||
function parse_git_branch() {
|
function parse_git_branch() {
|
||||||
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
|
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
|
||||||
|
@ -295,3 +301,4 @@ fi
|
||||||
if [[ ! -f "$SSH_AUTH_SOCK" ]]; then
|
if [[ ! -f "$SSH_AUTH_SOCK" ]]; then
|
||||||
source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null
|
source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Before Width: | Height: | Size: 207 KiB |
|
@ -1,6 +1,6 @@
|
||||||
[%General]
|
[%General]
|
||||||
author=sachnr, based on KvAdapta
|
author=ShelockH0, based on Graphite Dark by Vince Liuice and Gruvbox GTK by Fausto Korpsvart
|
||||||
comment=Gruvbox Dark theme with brown highlights
|
comment=An uncomplicated, warm and aesthetic gruvbox theme inspired by Gruvbox GTK Theme by Fausto Korpsvart
|
||||||
x11drag=menubar_and_primary_toolbar
|
x11drag=menubar_and_primary_toolbar
|
||||||
alt_mnemonic=true
|
alt_mnemonic=true
|
||||||
left_tabs=true
|
left_tabs=true
|
||||||
|
@ -11,17 +11,19 @@ toolbar_item_spacing=0
|
||||||
toolbar_interior_spacing=2
|
toolbar_interior_spacing=2
|
||||||
spread_progressbar=true
|
spread_progressbar=true
|
||||||
composite=true
|
composite=true
|
||||||
menu_shadow_depth=5
|
menu_shadow_depth=6
|
||||||
|
spread_menuitems=false
|
||||||
tooltip_shadow_depth=2
|
tooltip_shadow_depth=2
|
||||||
splitter_width=4
|
splitter_width=1
|
||||||
scroll_width=9
|
scroll_width=14
|
||||||
scroll_arrows=false
|
scroll_arrows=false
|
||||||
scroll_min_extent=60
|
scroll_min_extent=60
|
||||||
slider_width=2
|
slider_width=2
|
||||||
slider_handle_width=22
|
slider_handle_width=23
|
||||||
slider_handle_length=22
|
slider_handle_length=22
|
||||||
|
tickless_slider_handle_size=22
|
||||||
center_toolbar_handle=true
|
center_toolbar_handle=true
|
||||||
check_size=14
|
check_size=16
|
||||||
textless_progressbar=false
|
textless_progressbar=false
|
||||||
progressbar_thickness=2
|
progressbar_thickness=2
|
||||||
menubar_mouse_tracking=true
|
menubar_mouse_tracking=true
|
||||||
|
@ -37,7 +39,7 @@ merge_menubar_with_toolbar=true
|
||||||
small_icon_size=16
|
small_icon_size=16
|
||||||
large_icon_size=32
|
large_icon_size=32
|
||||||
button_icon_size=16
|
button_icon_size=16
|
||||||
toolbar_icon_size=22
|
toolbar_icon_size=16
|
||||||
combo_as_lineedit=true
|
combo_as_lineedit=true
|
||||||
animate_states=true
|
animate_states=true
|
||||||
button_contents_shift=false
|
button_contents_shift=false
|
||||||
|
@ -46,105 +48,145 @@ hide_combo_checkboxes=true
|
||||||
combo_focus_rect=false
|
combo_focus_rect=false
|
||||||
groupbox_top_label=true
|
groupbox_top_label=true
|
||||||
inline_spin_indicators=true
|
inline_spin_indicators=true
|
||||||
joined_inactive_tabs=true
|
joined_inactive_tabs=false
|
||||||
layout_spacing=6
|
layout_spacing=6
|
||||||
layout_margin=9
|
layout_margin=9
|
||||||
scrollbar_in_view=true
|
scrollbar_in_view=true
|
||||||
transient_scrollbar=true
|
transient_scrollbar=true
|
||||||
transient_groove=false
|
transient_groove=false
|
||||||
submenu_overlap=0
|
submenu_overlap=0
|
||||||
tooltip_delay=-1
|
tooltip_delay=0
|
||||||
tree_branch_line=true
|
tree_branch_line=true
|
||||||
no_window_pattern=false
|
no_window_pattern=false
|
||||||
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
||||||
reduce_window_opacity=0
|
reduce_window_opacity=0
|
||||||
respect_DE=true
|
respect_DE=true
|
||||||
scrollable_menu=false
|
scrollable_menu=true
|
||||||
submenu_delay=250
|
submenu_delay=150
|
||||||
|
no_inactiveness=false
|
||||||
|
reduce_menu_opacity=0
|
||||||
|
click_behavior=0
|
||||||
|
contrast=1.00
|
||||||
|
dialog_button_layout=0
|
||||||
|
intensity=1.00
|
||||||
|
saturation=1.00
|
||||||
|
shadowless_popup=false
|
||||||
|
drag_from_buttons=false
|
||||||
|
menu_blur_radius=0
|
||||||
|
tooltip_blur_radius=0
|
||||||
|
|
||||||
[GeneralColors]
|
[GeneralColors]
|
||||||
window.color=#232323
|
window.color=#1D2021
|
||||||
base.color=#282828
|
base.color=#1D2021
|
||||||
alt.base.color=#282828
|
alt.base.color=#282828
|
||||||
button.color=#2e2e2e
|
button.color=#1D2021
|
||||||
light.color=#504945
|
light.color=#504945
|
||||||
mid.light.color=#3f3f3f
|
mid.light.color=#3C3836
|
||||||
dark.color=#1d2021
|
dark.color=#141617
|
||||||
mid.color=##202324
|
mid.color=#282828
|
||||||
highlight.color=#665c54cc
|
highlight.color=#89B482
|
||||||
inactive.highlight.color=#665c54bb
|
inactive.highlight.color=#32361A
|
||||||
text.color=#ebdbb2
|
text.color=#ddc7a1
|
||||||
window.text.color=#ebdbb2
|
window.text.color=#ddc7a1
|
||||||
button.text.color=#ebdbb2
|
button.text.color=#ddc7a1
|
||||||
disabled.text.color=#a89984
|
disabled.text.color=#ddc7a17F
|
||||||
tooltip.text.color=#fbf1c7
|
tooltip.text.color=#D4BE98
|
||||||
highlight.text.color=#3c3836
|
highlight.text.color=#000000C3
|
||||||
link.color=#b8bb26
|
link.color=#7daea3
|
||||||
link.visited.color=#98971a
|
link.visited.color=#d3869b
|
||||||
progress.indicator.text.color=#fbf1c7
|
progress.indicator.text.color=#ddc7a1
|
||||||
|
|
||||||
[Hacks]
|
[Hacks]
|
||||||
transparent_ktitle_label=true
|
transparent_ktitle_label=true
|
||||||
transparent_dolphin_view=false
|
transparent_dolphin_view=true
|
||||||
transparent_pcmanfm_sidepane=true
|
transparent_pcmanfm_sidepane=true
|
||||||
blur_translucent=false
|
blur_translucent=true
|
||||||
transparent_menutitle=true
|
transparent_menutitle=true
|
||||||
respect_darkness=false
|
respect_darkness=true
|
||||||
kcapacitybar_as_progressbar=true
|
kcapacitybar_as_progressbar=true
|
||||||
force_size_grip=true
|
force_size_grip=true
|
||||||
iconless_pushbutton=true
|
iconless_pushbutton=true
|
||||||
iconless_menu=false
|
iconless_menu=false
|
||||||
disabled_icon_opacity=70
|
disabled_icon_opacity=100
|
||||||
lxqtmainmenu_iconsize=22
|
lxqtmainmenu_iconsize=16
|
||||||
normal_default_pushbutton=true
|
normal_default_pushbutton=true
|
||||||
single_top_toolbar=true
|
single_top_toolbar=true
|
||||||
tint_on_mouseover=0
|
tint_on_mouseover=0
|
||||||
transparent_pcmanfm_view=false
|
transparent_pcmanfm_view=true
|
||||||
no_selection_tint=true
|
no_selection_tint=true
|
||||||
transparent_arrow_button=true
|
transparent_arrow_button=true
|
||||||
|
middle_click_scroll=false
|
||||||
|
opaque_colors=false
|
||||||
|
kinetic_scrolling=false
|
||||||
|
scroll_jump_workaround=false
|
||||||
|
centered_forms=false
|
||||||
|
noninteger_translucency=false
|
||||||
|
style_vertical_toolbars=false
|
||||||
|
blur_only_active_window=true
|
||||||
|
|
||||||
|
[BaseWidget]
|
||||||
|
interior=true
|
||||||
|
indicator.size=12
|
||||||
|
frame=true
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=0
|
||||||
|
frame.left=0
|
||||||
|
frame.right=0
|
||||||
|
frame.expansion=0
|
||||||
|
text.margin=true
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=0
|
||||||
|
text.margin.right=0
|
||||||
|
text.bold=false
|
||||||
|
text.shadow=0
|
||||||
|
|
||||||
[PanelButtonCommand]
|
[PanelButtonCommand]
|
||||||
frame=true
|
frame=true
|
||||||
frame.element=button
|
frame.element=button
|
||||||
frame.top=4
|
frame.top=6
|
||||||
frame.bottom=4
|
frame.bottom=6
|
||||||
frame.left=4
|
frame.left=6
|
||||||
frame.right=4
|
frame.right=6
|
||||||
interior=true
|
interior=true
|
||||||
interior.element=button
|
interior.element=button
|
||||||
indicator.size=8
|
indicator.size=8
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#3c3836
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#ebdbb2
|
text.press.color=#ddc7a1
|
||||||
text.toggle.color=#fbf1c7
|
text.toggle.color=#3C3836
|
||||||
text.shadow=0
|
text.shadow=0
|
||||||
text.margin=1
|
text.margin=4
|
||||||
text.iconspacing=4
|
text.iconspacing=4
|
||||||
indicator.element=arrow
|
indicator.element=arrow
|
||||||
text.margin.top=2
|
frame.expansion=0
|
||||||
text.margin.bottom=4
|
|
||||||
text.margin.left=2
|
|
||||||
text.margin.right=2
|
|
||||||
min_width=+0.3font
|
|
||||||
min_height=+0.3font
|
|
||||||
frame.expansion=14
|
|
||||||
|
|
||||||
[PanelButtonTool]
|
[PanelButtonTool]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
|
text.focus.color=#ddc7a1
|
||||||
|
text.press.color=#ddc7a1
|
||||||
|
text.toggle.color=#3C3836
|
||||||
text.bold=false
|
text.bold=false
|
||||||
indicator.element=arrow
|
indicator.element=arrow
|
||||||
indicator.size=0
|
indicator.size=0
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
[ToolbarButton]
|
[ToolbarButton]
|
||||||
|
frame=true
|
||||||
frame.element=tbutton
|
frame.element=tbutton
|
||||||
interior.element=tbutton
|
interior.element=tbutton
|
||||||
|
frame.top=16
|
||||||
|
frame.bottom=16
|
||||||
|
frame.left=16
|
||||||
|
frame.right=16
|
||||||
indicator.element=tarrow
|
indicator.element=tarrow
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#fbf1c7
|
text.press.color=#ddc7a1
|
||||||
text.toggle.color=#fbf1c7
|
text.toggle.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
|
frame.expansion=32
|
||||||
|
|
||||||
[Dock]
|
[Dock]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
|
@ -154,14 +196,14 @@ frame.top=1
|
||||||
frame.bottom=1
|
frame.bottom=1
|
||||||
frame.left=1
|
frame.left=1
|
||||||
frame.right=1
|
frame.right=1
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
|
|
||||||
[DockTitle]
|
[DockTitle]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame=false
|
frame=false
|
||||||
interior=false
|
interior=false
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
|
|
||||||
[IndicatorSpinBox]
|
[IndicatorSpinBox]
|
||||||
|
@ -174,7 +216,7 @@ frame.left=2
|
||||||
frame.right=2
|
frame.right=2
|
||||||
indicator.element=spin
|
indicator.element=spin
|
||||||
indicator.size=8
|
indicator.size=8
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.margin.top=2
|
text.margin.top=2
|
||||||
text.margin.bottom=2
|
text.margin.bottom=2
|
||||||
text.margin.left=2
|
text.margin.left=2
|
||||||
|
@ -184,8 +226,8 @@ text.margin.right=2
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame=false
|
frame=false
|
||||||
interior.element=radio
|
interior.element=radio
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
min_width=+0.3font
|
min_width=+0.3font
|
||||||
min_height=+0.3font
|
min_height=+0.3font
|
||||||
|
|
||||||
|
@ -193,8 +235,8 @@ min_height=+0.3font
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame=false
|
frame=false
|
||||||
interior.element=checkbox
|
interior.element=checkbox
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
min_width=+0.3font
|
min_width=+0.3font
|
||||||
min_height=+0.3font
|
min_height=+0.3font
|
||||||
|
|
||||||
|
@ -202,11 +244,11 @@ min_height=+0.3font
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame=true
|
frame=true
|
||||||
frame.element=focus
|
frame.element=focus
|
||||||
frame.top=1
|
frame.top=2
|
||||||
frame.bottom=1
|
frame.bottom=2
|
||||||
frame.left=1
|
frame.left=2
|
||||||
frame.right=1
|
frame.right=2
|
||||||
frame.patternsize=20
|
frame.patternsize=14
|
||||||
|
|
||||||
[GenericFrame]
|
[GenericFrame]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
|
@ -214,25 +256,27 @@ frame=true
|
||||||
interior=false
|
interior=false
|
||||||
frame.element=common
|
frame.element=common
|
||||||
interior.element=common
|
interior.element=common
|
||||||
frame.top=3
|
frame.top=1
|
||||||
frame.bottom=3
|
frame.bottom=1
|
||||||
frame.left=3
|
frame.left=1
|
||||||
frame.right=3
|
frame.right=1
|
||||||
|
|
||||||
[LineEdit]
|
[LineEdit]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame.element=lineedit
|
frame.element=lineedit
|
||||||
interior.element=lineedit
|
interior.element=lineedit
|
||||||
interior=false
|
frame.top=6
|
||||||
frame.top=2
|
frame.bottom=6
|
||||||
frame.bottom=2
|
frame.left=6
|
||||||
frame.left=2
|
frame.right=6
|
||||||
frame.right=2
|
|
||||||
text.margin.top=2
|
text.margin.top=2
|
||||||
text.margin.bottom=2
|
text.margin.bottom=2
|
||||||
text.margin.left=2
|
text.margin.left=2
|
||||||
text.margin.right=2
|
text.margin.right=2
|
||||||
frame.expansion=0
|
|
||||||
|
[ToolbarLineEdit]
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
|
||||||
[DropDownButton]
|
[DropDownButton]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
|
@ -244,26 +288,28 @@ indicator.size=8
|
||||||
|
|
||||||
[ToolboxTab]
|
[ToolboxTab]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.press.color=#ebdbb2
|
text.press.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
|
|
||||||
[Tab]
|
[Tab]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
interior.element=tab
|
interior.element=tab
|
||||||
text.margin.left=8
|
text.margin.left=8
|
||||||
text.margin.right=8
|
text.margin.right=8
|
||||||
text.margin.top=2
|
text.margin.top=0
|
||||||
text.margin.bottom=2
|
text.margin.bottom=0
|
||||||
frame.element=tab
|
frame.element=tab
|
||||||
indicator.element=tab
|
indicator.element=tab
|
||||||
frame.top=2
|
indicator.size=22
|
||||||
frame.bottom=2
|
frame.top=8
|
||||||
frame.left=2
|
frame.bottom=8
|
||||||
frame.right=2
|
frame.left=8
|
||||||
text.normal.color=#ebdbb2
|
frame.right=8
|
||||||
text.focus.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.toggle.color=#ebdbb2
|
text.focus.color=#ddc7a1
|
||||||
|
text.press.color=#ddc7a1
|
||||||
|
text.toggle.color=#ddc7a1
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
text.bold=false
|
text.bold=false
|
||||||
|
|
||||||
|
@ -271,10 +317,10 @@ text.bold=false
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame.element=tabframe
|
frame.element=tabframe
|
||||||
interior.element=tabframe
|
interior.element=tabframe
|
||||||
frame.top=2
|
frame.top=6
|
||||||
frame.bottom=2
|
frame.bottom=6
|
||||||
frame.left=2
|
frame.left=6
|
||||||
frame.right=2
|
frame.right=6
|
||||||
|
|
||||||
[TreeExpander]
|
[TreeExpander]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
|
@ -285,14 +331,14 @@ indicator.element=tree
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
interior.element=header
|
interior.element=header
|
||||||
frame.element=header
|
frame.element=header
|
||||||
frame.top=1
|
frame.top=0
|
||||||
frame.bottom=1
|
frame.bottom=1
|
||||||
frame.left=1
|
frame.left=1
|
||||||
frame.right=1
|
frame.right=1
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#fbf1c7
|
text.press.color=#ddc7a1
|
||||||
text.toggle.color=#fbf1c7
|
text.toggle.color=#ddc7a1
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
|
||||||
[SizeGrip]
|
[SizeGrip]
|
||||||
|
@ -303,19 +349,22 @@ inherits=PanelButtonCommand
|
||||||
indicator.element=toolbar
|
indicator.element=toolbar
|
||||||
indicator.size=5
|
indicator.size=5
|
||||||
text.margin=0
|
text.margin=0
|
||||||
interior.element=menubar
|
interior.element=toolbar
|
||||||
frame.element=menubar
|
frame.element=toolbar
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
frame.left=0
|
text.press.color=#ddc7a1
|
||||||
frame.right=0
|
text.toggle.color=#ddc7a1
|
||||||
frame.top=0
|
frame.left=3
|
||||||
frame.bottom=4
|
frame.right=3
|
||||||
|
frame.top=3
|
||||||
|
frame.bottom=3
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
|
||||||
[Slider]
|
[Slider]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame.element=slider
|
frame.element=slider
|
||||||
|
focusFrame=true
|
||||||
interior.element=slider
|
interior.element=slider
|
||||||
frame.top=3
|
frame.top=3
|
||||||
frame.bottom=3
|
frame.bottom=3
|
||||||
|
@ -332,10 +381,10 @@ inherits=PanelButtonCommand
|
||||||
frame.element=progress
|
frame.element=progress
|
||||||
interior.element=progress
|
interior.element=progress
|
||||||
text.margin=0
|
text.margin=0
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#ebdbb2
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#ebdbb2
|
text.press.color=#ddc7a1
|
||||||
text.toggle.color=#cfd8dc
|
text.toggle.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
frame.expansion=8
|
frame.expansion=8
|
||||||
|
|
||||||
|
@ -350,18 +399,18 @@ inherits=PanelButtonCommand
|
||||||
text.margin=0
|
text.margin=0
|
||||||
frame.element=itemview
|
frame.element=itemview
|
||||||
interior.element=itemview
|
interior.element=itemview
|
||||||
frame.top=2
|
frame.top=4
|
||||||
frame.bottom=2
|
frame.bottom=4
|
||||||
frame.left=2
|
frame.left=4
|
||||||
frame.right=2
|
frame.right=4
|
||||||
text.margin.top=2
|
text.margin.top=0
|
||||||
text.margin.bottom=2
|
text.margin.bottom=0
|
||||||
text.margin.left=4
|
text.margin.left=8
|
||||||
text.margin.right=4
|
text.margin.right=8
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#fbf1c7
|
text.press.color=#3C3836
|
||||||
text.toggle.color=#fbf1c7
|
text.toggle.color=#ffffff
|
||||||
min_width=+0.3font
|
min_width=+0.3font
|
||||||
min_height=+0.3font
|
min_height=+0.3font
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
@ -370,23 +419,38 @@ frame.expansion=0
|
||||||
indicator.size=48
|
indicator.size=48
|
||||||
|
|
||||||
[Scrollbar]
|
[Scrollbar]
|
||||||
inherits=PanelButtonCommand
|
inherits=BaseWidget
|
||||||
indicator.element=arrow
|
|
||||||
indicator.size=8
|
[ScrollbarGroove]
|
||||||
|
inherits=BaseWidget
|
||||||
|
interior=false
|
||||||
|
frame.element=scrollbargroove
|
||||||
|
frame.left=7
|
||||||
|
frame.right=7
|
||||||
|
frame.top=7
|
||||||
|
frame.bottom=7
|
||||||
|
|
||||||
[ScrollbarSlider]
|
[ScrollbarSlider]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
interior.element=scrollbarslider
|
frame.element=scrollbarslider
|
||||||
interior=true
|
|
||||||
frame=false
|
|
||||||
indicator.element=grip
|
|
||||||
indicator.size=13
|
|
||||||
frame.expansion=48
|
|
||||||
|
|
||||||
[ScrollbarGroove]
|
|
||||||
inherits=PanelButtonCommand
|
|
||||||
interior=false
|
interior=false
|
||||||
frame=false
|
frame.left=7
|
||||||
|
frame.right=7
|
||||||
|
frame.top=7
|
||||||
|
frame.bottom=7
|
||||||
|
|
||||||
|
[Menu]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.top=10
|
||||||
|
frame.bottom=10
|
||||||
|
frame.left=10
|
||||||
|
frame.right=10
|
||||||
|
frame.element=menu
|
||||||
|
interior.element=menu
|
||||||
|
text.normal.color=#ddc7a1
|
||||||
|
text.shadow=false
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
[MenuItem]
|
[MenuItem]
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
|
@ -394,19 +458,17 @@ frame=true
|
||||||
frame.element=menuitem
|
frame.element=menuitem
|
||||||
interior.element=menuitem
|
interior.element=menuitem
|
||||||
indicator.element=menuitem
|
indicator.element=menuitem
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#3C3836
|
||||||
text.margin.top=1
|
text.margin.top=0
|
||||||
text.margin.bottom=1
|
text.margin.bottom=0
|
||||||
text.margin.left=4
|
text.margin.left=6
|
||||||
text.margin.right=4
|
text.margin.right=6
|
||||||
frame.top=0
|
frame.top=4
|
||||||
frame.bottom=0
|
frame.bottom=4
|
||||||
frame.left=0
|
frame.left=4
|
||||||
frame.right=0
|
frame.right=4
|
||||||
text.bold=false
|
text.bold=false
|
||||||
min_width=+0.3font
|
|
||||||
min_height=+0.3font
|
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
|
||||||
[MenuBar]
|
[MenuBar]
|
||||||
|
@ -414,7 +476,10 @@ inherits=PanelButtonCommand
|
||||||
frame.element=menubar
|
frame.element=menubar
|
||||||
interior.element=menubar
|
interior.element=menubar
|
||||||
frame.bottom=0
|
frame.bottom=0
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
|
text.focus.color=#ddc7a1
|
||||||
|
text.press.color=#ddc7a1
|
||||||
|
text.toggle.color=#ddc7a1
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
text.bold=false
|
text.bold=false
|
||||||
|
|
||||||
|
@ -431,8 +496,10 @@ text.margin.left=4
|
||||||
text.margin.right=4
|
text.margin.right=4
|
||||||
text.margin.top=0
|
text.margin.top=0
|
||||||
text.margin.bottom=0
|
text.margin.bottom=0
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
|
text.press.color=#ddc7a1
|
||||||
|
text.toggle.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
min_width=+0.3font
|
min_width=+0.3font
|
||||||
min_height=+0.3font
|
min_height=+0.3font
|
||||||
|
@ -448,8 +515,8 @@ text.margin.right=2
|
||||||
interior.element=titlebar
|
interior.element=titlebar
|
||||||
indicator.size=16
|
indicator.size=16
|
||||||
indicator.element=mdi
|
indicator.element=mdi
|
||||||
text.normal.color=#d5c4a1
|
text.normal.color=#D4BE98
|
||||||
text.focus.color=#ebdbb2
|
text.focus.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
text.italic=true
|
text.italic=true
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
@ -458,64 +525,50 @@ frame.expansion=0
|
||||||
inherits=PanelButtonCommand
|
inherits=PanelButtonCommand
|
||||||
frame.element=combo
|
frame.element=combo
|
||||||
interior.element=combo
|
interior.element=combo
|
||||||
interior=false
|
frame.top=6
|
||||||
frame.top=2
|
frame.bottom=6
|
||||||
frame.bottom=2
|
frame.left=6
|
||||||
frame.left=2
|
frame.right=6
|
||||||
frame.right=2
|
|
||||||
text.margin.top=2
|
text.margin.top=2
|
||||||
text.margin.bottom=2
|
text.margin.bottom=2
|
||||||
text.margin.left=2
|
text.margin.left=2
|
||||||
text.margin.right=2
|
text.margin.right=2
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.press.color=#ebdbb2
|
text.press.color=#ddc7a1
|
||||||
text.toggle.color=#fbf1c7
|
text.toggle.color=#ddc7a1
|
||||||
frame.expansion=0
|
|
||||||
|
|
||||||
[Menu]
|
|
||||||
inherits=PanelButtonCommand
|
|
||||||
frame.top=1
|
|
||||||
frame.bottom=1
|
|
||||||
frame.left=1
|
|
||||||
frame.right=1
|
|
||||||
frame.element=menu
|
|
||||||
interior.element=menu
|
|
||||||
text.normal.color=#ebdbb2
|
|
||||||
text.shadow=false
|
|
||||||
frame.expansion=0
|
|
||||||
|
|
||||||
[GroupBox]
|
[GroupBox]
|
||||||
inherits=GenericFrame
|
inherits=GenericFrame
|
||||||
frame=false
|
frame=false
|
||||||
text.shadow=0
|
text.shadow=0
|
||||||
text.margin=0
|
text.margin=0
|
||||||
text.normal.color=#ebdbb2
|
text.normal.color=#ddc7a1
|
||||||
text.focus.color=#fbf1c7
|
text.focus.color=#ddc7a1
|
||||||
text.bold=false
|
text.bold=false
|
||||||
frame.expansion=0
|
frame.expansion=0
|
||||||
|
|
||||||
[TabBarFrame]
|
[TabBarFrame]
|
||||||
inherits=GenericFrame
|
inherits=GenericFrame
|
||||||
frame=true
|
frame=false
|
||||||
frame.element=tabBarFrame
|
frame.element=tabBarFrame
|
||||||
interior=false
|
interior=false
|
||||||
frame.top=2
|
frame.top=0
|
||||||
frame.bottom=2
|
frame.bottom=0
|
||||||
frame.left=2
|
frame.left=0
|
||||||
frame.right=2
|
frame.right=0
|
||||||
|
|
||||||
[ToolTip]
|
[ToolTip]
|
||||||
inherits=GenericFrame
|
inherits=GenericFrame
|
||||||
frame.top=3
|
frame.top=6
|
||||||
frame.bottom=3
|
frame.bottom=6
|
||||||
frame.left=3
|
frame.left=6
|
||||||
frame.right=3
|
frame.right=6
|
||||||
interior=true
|
interior=true
|
||||||
text.shadow=0
|
text.shadow=0
|
||||||
text.margin=0
|
text.margin=0
|
||||||
interior.element=tooltip
|
interior.element=tooltip
|
||||||
frame.element=tooltip
|
frame.element=tooltip
|
||||||
frame.expansion=0
|
frame.expansion=6
|
||||||
|
|
||||||
[StatusBar]
|
[StatusBar]
|
||||||
inherits=GenericFrame
|
inherits=GenericFrame
|
||||||
|
@ -525,3 +578,7 @@ interior=false
|
||||||
[Window]
|
[Window]
|
||||||
interior=true
|
interior=true
|
||||||
interior.element=window
|
interior.element=window
|
||||||
|
frame=true
|
||||||
|
frame.element=window
|
||||||
|
frame.bottom=10
|
||||||
|
frame.top=10
|
6696
config/.config/Kvantum/GruvboxMaterial/GruvboxMaterial.svg
Normal file
6696
config/.config/Kvantum/GruvboxMaterial/GruvboxMaterial.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 180 KiB |
|
@ -1,2 +1,2 @@
|
||||||
[General]
|
[General]
|
||||||
theme=Gruvbox-Dark-Brown
|
theme=GruvboxMaterial
|
||||||
|
|
4
config/.config/git/config
Normal file
4
config/.config/git/config
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[user]
|
||||||
|
mail = maverick.xero@proton.me
|
||||||
|
name = Clay Gomera
|
||||||
|
email = maverick.xero@proton.me
|
|
@ -1,24 +1,24 @@
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
image/=imv.desktop
|
image/=nsxiv.desktop
|
||||||
video/=mpv.desktop
|
video/=mpv.desktop
|
||||||
audio/=mpv.desktop
|
audio/=mpv.desktop
|
||||||
text/=emacsclient.desktop
|
text/=emacsclient.desktop
|
||||||
image/jpeg=imv.desktop
|
image/jpeg=nsxiv.desktop
|
||||||
image/png=imv.desktop
|
image/png=nsxiv.desktop
|
||||||
image/gif=imv.desktop
|
image/gif=nsxiv.desktop
|
||||||
application/vnd.comicbook+zip=org.pwmt.zathura-cb.desktop
|
application/vnd.comicbook+zip=org.pwmt.zathura-cb.desktop
|
||||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
|
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
|
||||||
image/svg+xml=org.inkscape.Inkscape.desktop
|
image/svg+xml=org.inkscape.Inkscape.desktop
|
||||||
video/x-matroska=mpv.desktop
|
video/x-matroska=mpv.desktop
|
||||||
video/mp4=mpv.desktop
|
video/mp4=mpv.desktop
|
||||||
image/webp=imv.desktop
|
image/webp=nsxiv.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
image/jpeg=imv.desktop;
|
image/jpeg=nsxiv.desktop;
|
||||||
image/png=imv.desktop;
|
image/png=nsxiv.desktop;
|
||||||
image/gif=imv.desktop;
|
image/gif=nsxiv.desktop;
|
||||||
application/vnd.comicbook+zip=org.pwmt.zathura-cb.desktop;
|
application/vnd.comicbook+zip=org.pwmt.zathura-cb.desktop;
|
||||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
||||||
image/svg+xml=org.inkscape.Inkscape.desktop;
|
image/svg+xml=org.inkscape.Inkscape.desktop;
|
||||||
video/x-matroska=mpv.desktop;
|
video/x-matroska=mpv.desktop;
|
||||||
image/webp=imv.desktop;
|
image/webp=nsxiv.desktop;
|
||||||
|
|
139
config/.config/mpv/mpv.conf
Normal file
139
config/.config/mpv/mpv.conf
Normal file
|
@ -0,0 +1,139 @@
|
||||||
|
#
|
||||||
|
# Example mpv configuration file
|
||||||
|
#
|
||||||
|
# Warning:
|
||||||
|
#
|
||||||
|
# The commented example options usually do _not_ set the default values. Call
|
||||||
|
# mpv with --list-options to see the default values for most options. There is
|
||||||
|
# no builtin or example mpv.conf with all the defaults.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Configuration files are read system-wide from /etc/mpv/mpv.conf
|
||||||
|
# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
|
||||||
|
# system-wide settings, all of which are overridden by the command line.
|
||||||
|
#
|
||||||
|
# Configuration file settings and the command line options use the same
|
||||||
|
# underlying mechanisms. Most options can be put into the configuration file
|
||||||
|
# by dropping the preceding '--'. See the man page for a complete list of
|
||||||
|
# options.
|
||||||
|
#
|
||||||
|
# Lines starting with '#' are comments and are ignored.
|
||||||
|
#
|
||||||
|
# See the CONFIGURATION FILES section in the man page
|
||||||
|
# for a detailed description of the syntax.
|
||||||
|
#
|
||||||
|
# Profiles should be placed at the bottom of the configuration file to ensure
|
||||||
|
# that settings wanted as defaults are not restricted to specific profiles.
|
||||||
|
|
||||||
|
##################
|
||||||
|
# video settings #
|
||||||
|
##################
|
||||||
|
|
||||||
|
# Start in fullscreen mode by default.
|
||||||
|
#fs=yes
|
||||||
|
|
||||||
|
# force starting with centered window
|
||||||
|
#geometry=50%:50%
|
||||||
|
|
||||||
|
# don't allow a new window to have a size larger than 90% of the screen size
|
||||||
|
#autofit-larger=90%x90%
|
||||||
|
|
||||||
|
# Do not close the window on exit.
|
||||||
|
#keep-open=yes
|
||||||
|
|
||||||
|
# Do not wait with showing the video window until it has loaded. (This will
|
||||||
|
# resize the window once video is loaded. Also always shows a window with
|
||||||
|
# audio.)
|
||||||
|
#force-window=immediate
|
||||||
|
|
||||||
|
# Disable the On Screen Controller (OSC).
|
||||||
|
#osc=no
|
||||||
|
|
||||||
|
# Keep the player window on top of all other windows.
|
||||||
|
#ontop=yes
|
||||||
|
|
||||||
|
# Specify high quality video rendering preset (for --vo=gpu only)
|
||||||
|
# Can cause performance problems with some drivers and GPUs.
|
||||||
|
#profile=gpu-hq
|
||||||
|
|
||||||
|
# Force video to lock on the display's refresh rate, and change video and audio
|
||||||
|
# speed to some degree to ensure synchronous playback - can cause problems
|
||||||
|
# with some drivers and desktop environments.
|
||||||
|
#video-sync=display-resample
|
||||||
|
|
||||||
|
# Enable hardware decoding if available. Often, this does not work with all
|
||||||
|
# video outputs, but should work well with default settings on most systems.
|
||||||
|
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
|
||||||
|
# may or may not help.
|
||||||
|
#hwdec=auto
|
||||||
|
|
||||||
|
##################
|
||||||
|
# audio settings #
|
||||||
|
##################
|
||||||
|
|
||||||
|
# Specify default audio device. You can list devices with: --audio-device=help
|
||||||
|
# The option takes the device string (the stuff between the '...').
|
||||||
|
#audio-device=alsa/default
|
||||||
|
|
||||||
|
# Do not filter audio to keep pitch when changing playback speed.
|
||||||
|
#audio-pitch-correction=no
|
||||||
|
|
||||||
|
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
|
||||||
|
#audio-channels=5.1
|
||||||
|
# Disable any automatic remix, _if_ the audio output accepts the audio format.
|
||||||
|
# of the currently played file. See caveats mentioned in the manpage.
|
||||||
|
# (The default is "auto-safe", see manpage.)
|
||||||
|
#audio-channels=auto
|
||||||
|
|
||||||
|
##################
|
||||||
|
# other settings #
|
||||||
|
##################
|
||||||
|
|
||||||
|
# Pretend to be a web browser. Might fix playback with some streaming sites,
|
||||||
|
# but also will break with shoutcast streams.
|
||||||
|
#user-agent="Mozilla/5.0"
|
||||||
|
|
||||||
|
# cache settings
|
||||||
|
#
|
||||||
|
# Use a large seekable RAM cache even for local input.
|
||||||
|
#cache=yes
|
||||||
|
#
|
||||||
|
# Use extra large RAM cache (needs cache=yes to make it useful).
|
||||||
|
#demuxer-max-bytes=500M
|
||||||
|
#demuxer-max-back-bytes=100M
|
||||||
|
#
|
||||||
|
# Disable the behavior that the player will pause if the cache goes below a
|
||||||
|
# certain fill size.
|
||||||
|
#cache-pause=no
|
||||||
|
#
|
||||||
|
# Store cache payload on the hard disk instead of in RAM. (This may negatively
|
||||||
|
# impact performance unless used for slow input such as network.)
|
||||||
|
#cache-dir=~/.cache/
|
||||||
|
#cache-on-disk=yes
|
||||||
|
|
||||||
|
# Display English subtitles if available.
|
||||||
|
#slang=en
|
||||||
|
|
||||||
|
# Play Finnish audio if available, fall back to English otherwise.
|
||||||
|
#alang=fi,en
|
||||||
|
|
||||||
|
# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
|
||||||
|
# If the file seems to be valid UTF-8, prefer UTF-8.
|
||||||
|
# (You can add '+' in front of the codepage to force it.)
|
||||||
|
#sub-codepage=cp1256
|
||||||
|
|
||||||
|
# You can also include other configuration files.
|
||||||
|
#include=/path/to/the/file/you/want/to/include
|
||||||
|
|
||||||
|
############
|
||||||
|
# Profiles #
|
||||||
|
############
|
||||||
|
|
||||||
|
# The options declared as part of profiles override global default settings,
|
||||||
|
# but only take effect when the profile is active.
|
||||||
|
|
||||||
|
# The following profile can be enabled on the command line with: --profile=eye-cancer
|
||||||
|
|
||||||
|
#[eye-cancer]
|
||||||
|
#sharpen=5
|
||||||
|
loop-file='inf'
|
|
@ -43,7 +43,6 @@ backend = "glx";
|
||||||
vsync = true;
|
vsync = true;
|
||||||
dbe = false;
|
dbe = false;
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
refresh-rate = 60;
|
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
glx-no-stencil = true;
|
glx-no-stencil = true;
|
||||||
use-damage = true;
|
use-damage = true;
|
||||||
|
|
29
config/.config/vifm/colors/gruvbox.vifm
Normal file
29
config/.config/vifm/colors/gruvbox.vifm
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
" gruvbox color scheme approximation for vifm
|
||||||
|
|
||||||
|
" Reset all styles first
|
||||||
|
highlight clear
|
||||||
|
|
||||||
|
highlight Border cterm=none ctermfg=235 ctermbg=default
|
||||||
|
|
||||||
|
highlight TopLine cterm=none ctermfg=214 ctermbg=235
|
||||||
|
highlight TopLineSel cterm=bold ctermfg=214 ctermbg=237
|
||||||
|
|
||||||
|
highlight Win cterm=none ctermfg=223 ctermbg=none
|
||||||
|
highlight OtherWin cterm=none ctermfg=223 ctermbg=none
|
||||||
|
highlight Directory cterm=bold ctermfg=109 ctermbg=default
|
||||||
|
highlight CurrLine cterm=bold,inverse ctermfg=default ctermbg=default
|
||||||
|
highlight OtherLine cterm=bold ctermfg=default ctermbg=235
|
||||||
|
highlight Selected cterm=none ctermfg=223 ctermbg=237
|
||||||
|
|
||||||
|
highlight JobLine cterm=bold ctermfg=116 ctermbg=238
|
||||||
|
highlight StatusLine cterm=bold ctermfg=144 ctermbg=236
|
||||||
|
highlight ErrorMsg cterm=bold ctermfg=167 ctermbg=default
|
||||||
|
highlight WildMenu cterm=bold ctermfg=235 ctermbg=144
|
||||||
|
highlight CmdLine cterm=none ctermfg=223 ctermbg=default
|
||||||
|
|
||||||
|
highlight Executable cterm=bold ctermfg=142 ctermbg=default
|
||||||
|
highlight Link cterm=none ctermfg=132 ctermbg=default
|
||||||
|
highlight BrokenLink cterm=bold ctermfg=167 ctermbg=default
|
||||||
|
highlight Device cterm=none,standout ctermfg=214 ctermbg=default
|
||||||
|
highlight Fifo cterm=none ctermfg=172 ctermbg=default
|
||||||
|
highlight Socket cterm=bold ctermfg=223 ctermbg=default
|
56
config/.config/vifm/scripts/vifmimg
Executable file
56
config/.config/vifm/scripts/vifmimg
Executable file
|
@ -0,0 +1,56 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PCACHE="$HOME/.cache/vifm/thumbnail.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$PWD/$6")" | sha256sum)"
|
||||||
|
export PCACHE="${PCACHE%% *}"
|
||||||
|
|
||||||
|
pclear() {
|
||||||
|
printf '{"action": "remove", "identifier": "vifm-preview"}\n' > "$FIFO_UEBERZUG"
|
||||||
|
}
|
||||||
|
|
||||||
|
image() {
|
||||||
|
printf '{"action": "add", "identifier": "vifm-preview", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$2" "$3" "$4" "$5" "$6" > "$FIFO_UEBERZUG"
|
||||||
|
}
|
||||||
|
|
||||||
|
main() {
|
||||||
|
case "$1" in
|
||||||
|
"clear")
|
||||||
|
pclear "$@"
|
||||||
|
;;
|
||||||
|
"draw")
|
||||||
|
FILE="$PWD/$6"
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "$FILE"
|
||||||
|
;;
|
||||||
|
"video")
|
||||||
|
[ ! -f "${PCACHE}.jpg" ] && \
|
||||||
|
ffmpegthumbnailer -i "$6" -o "${PCACHE}.jpg" -s 0 -q 5
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "${PCACHE}.jpg"
|
||||||
|
;;
|
||||||
|
"epub")
|
||||||
|
[ ! -f "$PCACHE" ] && \
|
||||||
|
epub-thumbnailer "$6" "$PCACHE" 1024
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "$PCACHE"
|
||||||
|
;;
|
||||||
|
"pdf")
|
||||||
|
[ ! -f "${PCACHE}.jpg" ] && \
|
||||||
|
pdftoppm -jpeg -f 1 -singlefile "$6" "$PCACHE"
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "${PCACHE}.jpg"
|
||||||
|
;;
|
||||||
|
"djvu")
|
||||||
|
[ ! -f "${PCACHE}.jpg" ] && \
|
||||||
|
ddjvu -format=tiff -quality=90 -page=1 "$6" "$PCACHE.jpg"
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "${PCACHE}.jpg"
|
||||||
|
;;
|
||||||
|
"audio")
|
||||||
|
[ ! -f "${PCACHE}.jpg" ] && \
|
||||||
|
ffmpeg -hide_banner -i "$6" "${PCACHE}.jpg" -y >/dev/null
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "${PCACHE}.jpg"
|
||||||
|
;;
|
||||||
|
"font")
|
||||||
|
[ ! -f "${PCACHE}.jpg" ] && \
|
||||||
|
fontpreview -i "$6" -o "${PCACHE}.jpg"
|
||||||
|
image "$1" "$2" "$3" "$4" "$5" "${PCACHE}.jpg"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
main "$@"
|
21
config/.config/vifm/scripts/vifmrun
Executable file
21
config/.config/vifm/scripts/vifmrun
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z "$(command -v vifm)" ]; then
|
||||||
|
printf "vifm isn't installed on your system!\n"
|
||||||
|
exit 1
|
||||||
|
elif [ -z "$(command -v ueberzug)" ]; then
|
||||||
|
exec vifm "$@"
|
||||||
|
else
|
||||||
|
cleanup() {
|
||||||
|
exec 3>&-
|
||||||
|
rm "$FIFO_UEBERZUG"
|
||||||
|
}
|
||||||
|
[ ! -d "$HOME/.cache/vifm" ] && mkdir -p "$HOME/.cache/vifm"
|
||||||
|
export FIFO_UEBERZUG="$HOME/.cache/vifm/ueberzug-${$}"
|
||||||
|
mkfifo "$FIFO_UEBERZUG"
|
||||||
|
ueberzug layer -s <"$FIFO_UEBERZUG" -p json &
|
||||||
|
exec 3>"$FIFO_UEBERZUG"
|
||||||
|
trap cleanup EXIT
|
||||||
|
vifm "$@" 3>&-
|
||||||
|
vifmimg clear
|
||||||
|
fi
|
6568
config/.config/vifm/vifm-help.txt
Normal file
6568
config/.config/vifm/vifm-help.txt
Normal file
File diff suppressed because it is too large
Load diff
510
config/.config/vifm/vifmrc
Normal file
510
config/.config/vifm/vifmrc
Normal file
|
@ -0,0 +1,510 @@
|
||||||
|
" ____ __
|
||||||
|
" / __ \_________ _/ /_____
|
||||||
|
" / / / / ___/ __ `/ //_/ _ \
|
||||||
|
" / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake)
|
||||||
|
" /_____/_/ \__,_/_/|_|\___/ My custom vifm config
|
||||||
|
|
||||||
|
" vim: filetype=vifm :
|
||||||
|
" My config file for the vifm terminal file manager.
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" This is the actual command used to start vi. The default is vim.
|
||||||
|
" If you would like to use emacs or emacsclient, you can use them.
|
||||||
|
" Since emacs is a GUI app and not a terminal app like vim, append the command
|
||||||
|
" with an ampersand (&).
|
||||||
|
|
||||||
|
set vicmd=~/.local/bin/lvim
|
||||||
|
|
||||||
|
" This makes vifm perform file operations on its own instead of relying on
|
||||||
|
" standard utilities like `cp`. While using `cp` and alike is a more universal
|
||||||
|
" solution, it's also much slower when processing large amounts of files and
|
||||||
|
" doesn't support progress measuring.
|
||||||
|
|
||||||
|
set syscalls
|
||||||
|
|
||||||
|
" Trash Directory
|
||||||
|
" The default is to move files that are deleted with dd or :d to
|
||||||
|
" the trash directory. If you change this you will not be able to move
|
||||||
|
" files by deleting them and then using p to put the file in the new location.
|
||||||
|
" I recommend not changing this until you are familiar with vifm.
|
||||||
|
" This probably shouldn't be an option.
|
||||||
|
|
||||||
|
set trash
|
||||||
|
|
||||||
|
" This is how many directories to store in the directory history.
|
||||||
|
|
||||||
|
set history=100
|
||||||
|
|
||||||
|
" Automatically resolve symbolic links on l or Enter.
|
||||||
|
|
||||||
|
set nofollowlinks
|
||||||
|
|
||||||
|
" With this option turned on you can run partially entered commands with
|
||||||
|
" unambiguous beginning using :! (e.g. :!Te instead of :!Terminal or :!Te<tab>).
|
||||||
|
|
||||||
|
" set fastrun
|
||||||
|
|
||||||
|
" Natural sort of (version) numbers within text.
|
||||||
|
|
||||||
|
set sortnumbers
|
||||||
|
|
||||||
|
" Maximum number of changes that can be undone.
|
||||||
|
|
||||||
|
set undolevels=100
|
||||||
|
|
||||||
|
" If you installed the vim.txt help file set vimhelp.
|
||||||
|
" If would rather use a plain text help file set novimhelp.
|
||||||
|
|
||||||
|
set novimhelp
|
||||||
|
|
||||||
|
" If you would like to run an executable file when you
|
||||||
|
" press return on the file name set this.
|
||||||
|
|
||||||
|
set norunexec
|
||||||
|
|
||||||
|
" Selected color scheme
|
||||||
|
" The following line will cause issues if using vifm.vim with regular vim.
|
||||||
|
" Either use neovim or comment out the following line.
|
||||||
|
colorscheme gruvbox
|
||||||
|
|
||||||
|
" Format for displaying time in file list. For example:
|
||||||
|
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
||||||
|
" See man date or man strftime for details.
|
||||||
|
|
||||||
|
set timefmt=%m/%d\ %H:%M
|
||||||
|
|
||||||
|
" Show list of matches on tab completion in command-line mode
|
||||||
|
|
||||||
|
set wildmenu
|
||||||
|
|
||||||
|
" Display completions in a form of popup with descriptions of the matches
|
||||||
|
|
||||||
|
set wildstyle=popup
|
||||||
|
|
||||||
|
" Display suggestions in normal, visual and view modes for keys, marks and
|
||||||
|
" registers (at most 5 files). In other view, when available.
|
||||||
|
|
||||||
|
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
|
||||||
|
|
||||||
|
" Ignore case in search patterns unless it contains at least one uppercase
|
||||||
|
" letter
|
||||||
|
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
|
||||||
|
" Don't highlight search results automatically
|
||||||
|
|
||||||
|
set nohlsearch
|
||||||
|
|
||||||
|
" Use increment searching (search while typing)
|
||||||
|
set incsearch
|
||||||
|
|
||||||
|
" Try to leave some space from cursor to upper/lower border in lists
|
||||||
|
|
||||||
|
set scrolloff=4
|
||||||
|
|
||||||
|
" Don't do too many requests to slow file systems
|
||||||
|
|
||||||
|
if !has('win')
|
||||||
|
set slowfs=curlftpfs
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Set custom status line look
|
||||||
|
|
||||||
|
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
|
||||||
|
|
||||||
|
" Set line numbers to show
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" :mark mark /full/directory/path [filename]
|
||||||
|
|
||||||
|
mark h ~/
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" :com[mand][!] command_name action
|
||||||
|
" The following macros can be used in a command
|
||||||
|
" %a is replaced with the user arguments.
|
||||||
|
" %c the current file under the cursor.
|
||||||
|
" %C the current file under the cursor in the other directory.
|
||||||
|
" %f the current selected file, or files.
|
||||||
|
" %F the current selected file, or files in the other directory.
|
||||||
|
" %b same as %f %F.
|
||||||
|
" %d the current directory name.
|
||||||
|
" %D the other window directory name.
|
||||||
|
" %m run the command in a menu window
|
||||||
|
|
||||||
|
command! df df -h %m 2> /dev/null
|
||||||
|
command! diff vim -d %f %F
|
||||||
|
command! zip zip -r %f.zip %f
|
||||||
|
command! run !! ./%f
|
||||||
|
command! make !!make %a
|
||||||
|
command! mkcd :mkdir %a | cd %a
|
||||||
|
command! vgrep vim "+grep %a"
|
||||||
|
command! reload :write | restart
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" The file type is for the default programs to be used with
|
||||||
|
" a file extension.
|
||||||
|
" :filetype pattern1,pattern2 defaultprogram,program2
|
||||||
|
" :fileviewer pattern1,pattern2 consoleviewer
|
||||||
|
" The other programs for the file type can be accessed with the :file command
|
||||||
|
" The command macros %f, %F, %d, %F may be used in the commands.
|
||||||
|
" The %a macro is ignored. To use a % you must put %%.
|
||||||
|
|
||||||
|
" For automated FUSE mounts, you must register an extension with :file[x]type
|
||||||
|
" in one of following formats:
|
||||||
|
"
|
||||||
|
" :filetype extensions FUSE_MOUNT|some_mount_command using %SOURCE_FILE and %DESTINATION_DIR variables
|
||||||
|
" %SOURCE_FILE and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||||
|
" A sample line might look like this:
|
||||||
|
" :filetype *.zip,*.jar,*.war,*.ear FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
|
||||||
|
"
|
||||||
|
" :filetype extensions FUSE_MOUNT2|some_mount_command using %PARAM and %DESTINATION_DIR variables
|
||||||
|
" %PARAM and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||||
|
" A sample line might look like this:
|
||||||
|
" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
|
||||||
|
" %PARAM value is filled from the first line of file (whole line).
|
||||||
|
" Example first line for SshMount filetype: root@127.0.0.1:/
|
||||||
|
"
|
||||||
|
" You can also add %CLEAR if you want to clear screen before running FUSE
|
||||||
|
" program.
|
||||||
|
|
||||||
|
" Pdf and cbz
|
||||||
|
filextype *.cbz,*.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||||
|
fileviewer *.pdf
|
||||||
|
\ vifmimg pdf %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" PostScript
|
||||||
|
filextype *.ps,*.eps,*.ps.gz
|
||||||
|
\ {View in zathura}
|
||||||
|
\ zathura %f,
|
||||||
|
\ {View in gv}
|
||||||
|
\ gv %c %i &,
|
||||||
|
|
||||||
|
" Djvu
|
||||||
|
filextype *.djvu
|
||||||
|
\ {View in zathura}
|
||||||
|
\ zathura %f,
|
||||||
|
\ {View in apvlv}
|
||||||
|
\ apvlv %f,
|
||||||
|
fileviewer *.djvu
|
||||||
|
\ vifmimg djvu %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
fileviewer *.epub
|
||||||
|
\ vifmimg epub %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" Audio
|
||||||
|
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus
|
||||||
|
\ {Play using mpv}
|
||||||
|
\ mpv %f,
|
||||||
|
fileviewer *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus
|
||||||
|
\ vifmimg audio %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" Video
|
||||||
|
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||||
|
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||||
|
\*.as[fx]
|
||||||
|
\ {View using mplayer}
|
||||||
|
\ mpv %f,
|
||||||
|
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||||
|
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||||
|
\*.as[fx]
|
||||||
|
\ vifmimg video %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" Web
|
||||||
|
filextype *.html,*.htm
|
||||||
|
\ {Open with emacs}
|
||||||
|
\ emacsclient -c %c &,
|
||||||
|
\ {Open with vim}
|
||||||
|
\ vim %c &,
|
||||||
|
\ {Open with dwb}
|
||||||
|
\ dwb %f %i &,
|
||||||
|
\ {Open with firefox}
|
||||||
|
\ firefox %f &,
|
||||||
|
\ {Open with uzbl}
|
||||||
|
\ uzbl-browser %f %i &,
|
||||||
|
filetype *.html,*.htm links, lynx
|
||||||
|
|
||||||
|
" Object
|
||||||
|
filetype *.o nm %f | less
|
||||||
|
|
||||||
|
" Man page
|
||||||
|
filetype *.[1-8] man ./%c
|
||||||
|
fileviewer *.[1-8] man ./%c | col -b
|
||||||
|
|
||||||
|
" Images
|
||||||
|
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp
|
||||||
|
\ {View in imv}
|
||||||
|
\ nsxiv %f &,
|
||||||
|
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp
|
||||||
|
\ vifmimg draw %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" Fonts
|
||||||
|
fileviewer *.ttf, *.otf
|
||||||
|
\ vifmimg font %px %py %pw %ph %c
|
||||||
|
\ %pc
|
||||||
|
\ vifmimg clear
|
||||||
|
|
||||||
|
" OpenRaster
|
||||||
|
filextype *.ora
|
||||||
|
\ {Edit in MyPaint}
|
||||||
|
\ mypaint %f,
|
||||||
|
|
||||||
|
" Mindmap
|
||||||
|
filextype *.vym
|
||||||
|
\ {Open with VYM}
|
||||||
|
\ vym %f &,
|
||||||
|
|
||||||
|
" MD5
|
||||||
|
filetype *.md5
|
||||||
|
\ {Check MD5 hash sum}
|
||||||
|
\ md5sum -c %f %S,
|
||||||
|
|
||||||
|
" SHA1
|
||||||
|
filetype *.sha1
|
||||||
|
\ {Check SHA1 hash sum}
|
||||||
|
\ sha1sum -c %f %S,
|
||||||
|
|
||||||
|
" SHA256
|
||||||
|
filetype *.sha256
|
||||||
|
\ {Check SHA256 hash sum}
|
||||||
|
\ sha256sum -c %f %S,
|
||||||
|
|
||||||
|
" SHA512
|
||||||
|
filetype *.sha512
|
||||||
|
\ {Check SHA512 hash sum}
|
||||||
|
\ sha512sum -c %f %S,
|
||||||
|
|
||||||
|
" GPG signature
|
||||||
|
filetype *.asc
|
||||||
|
\ {Check signature}
|
||||||
|
\ !!gpg --verify %c,
|
||||||
|
|
||||||
|
" Torrent
|
||||||
|
filetype *.torrent flatpak run org.qbittorrent.qBittorrent %f &
|
||||||
|
fileviewer *.torrent dumptorrent -v %c
|
||||||
|
|
||||||
|
" FuseZipMount
|
||||||
|
filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg
|
||||||
|
\ {Mount with fuse-zip}
|
||||||
|
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
|
||||||
|
\ {View contents}
|
||||||
|
\ zip -sf %c | less,
|
||||||
|
\ {Extract here}
|
||||||
|
\ tar -xf %c,
|
||||||
|
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c
|
||||||
|
|
||||||
|
" ArchiveMount
|
||||||
|
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz
|
||||||
|
\ {Mount with archivemount}
|
||||||
|
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
|
||||||
|
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||||
|
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||||
|
fileviewer *.tar.txz,*.txz xz --list %c
|
||||||
|
fileviewer *.tar tar -tf %c
|
||||||
|
|
||||||
|
" Rar2FsMount and rar archives
|
||||||
|
filetype *.rar
|
||||||
|
\ {Mount with rar2fs}
|
||||||
|
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
|
||||||
|
fileviewer *.rar unrar v %c
|
||||||
|
|
||||||
|
" IsoMount
|
||||||
|
filetype *.iso
|
||||||
|
\ {Mount with fuseiso}
|
||||||
|
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
|
||||||
|
|
||||||
|
" SshMount
|
||||||
|
filetype *.ssh
|
||||||
|
\ {Mount with sshfs}
|
||||||
|
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||||
|
|
||||||
|
" FtpMount
|
||||||
|
filetype *.ftp
|
||||||
|
\ {Mount with curlftpfs}
|
||||||
|
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||||
|
|
||||||
|
" Fuse7z and 7z archives
|
||||||
|
filetype *.7z
|
||||||
|
\ {Mount with fuse-7z}
|
||||||
|
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
|
||||||
|
fileviewer *.7z 7z l %c
|
||||||
|
|
||||||
|
" Office files
|
||||||
|
filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx flatpak run org.libreoffice.LibreOffice %f &
|
||||||
|
fileviewer *.doc catdoc %c
|
||||||
|
fileviewer *.docx docx2txt.pl %f -
|
||||||
|
|
||||||
|
" TuDu files
|
||||||
|
filetype *.tudu tudu -f %c
|
||||||
|
|
||||||
|
" Qt projects
|
||||||
|
filextype *.pro qtcreator %f &
|
||||||
|
|
||||||
|
" Directories
|
||||||
|
filextype */
|
||||||
|
\ {View in thunar}
|
||||||
|
\ Thunar %f &,
|
||||||
|
|
||||||
|
" Syntax highlighting in preview
|
||||||
|
"
|
||||||
|
" Explicitly set highlight type for some extensions
|
||||||
|
"
|
||||||
|
" 256-color terminal
|
||||||
|
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
|
||||||
|
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
|
||||||
|
"
|
||||||
|
" 16-color terminal
|
||||||
|
" fileviewer *.c,*.h highlight -O ansi -s dante %c
|
||||||
|
"
|
||||||
|
" Or leave it for automatic detection
|
||||||
|
"
|
||||||
|
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
|
||||||
|
|
||||||
|
" Displaying pictures in terminal
|
||||||
|
"
|
||||||
|
" fileviewer *.jpg,*.png shellpic %c
|
||||||
|
|
||||||
|
" Open all other files with default system programs (you can also remove all
|
||||||
|
" :file[x]type commands above to ensure they don't interfere with system-wide
|
||||||
|
" settings). By default all unknown files are opened with 'vi[x]cmd'
|
||||||
|
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
|
||||||
|
" for unknown file types.
|
||||||
|
" For *nix:
|
||||||
|
" filetype * xdg-open
|
||||||
|
" For OS X:
|
||||||
|
" filetype * open
|
||||||
|
" For Windows:
|
||||||
|
" filetype * start, explorer
|
||||||
|
|
||||||
|
" GETTING ICONS TO DISPLAY IN VIFM
|
||||||
|
" You need the next 14 lines!
|
||||||
|
|
||||||
|
" file types
|
||||||
|
set classify=' :dir:/, :exe:, :reg:, :link:'
|
||||||
|
" various file names
|
||||||
|
set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::'
|
||||||
|
" archives
|
||||||
|
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
|
||||||
|
" images
|
||||||
|
set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
|
||||||
|
" audio
|
||||||
|
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
|
||||||
|
" media
|
||||||
|
set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::'
|
||||||
|
" office files
|
||||||
|
set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.ppt::'
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" What should be saved automatically between vifm runs
|
||||||
|
" Like in previous versions of vifm
|
||||||
|
" set vifminfo=options,filetypes,commands,bookmarks,dhistory,state,cs
|
||||||
|
" Like in vi
|
||||||
|
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
|
||||||
|
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Examples of configuring both panels
|
||||||
|
|
||||||
|
" Customize view columns a bit (enable ellipsis for truncated file names)
|
||||||
|
"
|
||||||
|
" set viewcolumns=-{name}..,6{}.
|
||||||
|
|
||||||
|
" Filter-out build and temporary files
|
||||||
|
"
|
||||||
|
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Sample mappings
|
||||||
|
|
||||||
|
"Open all images in current directory in sxiv thumbnail mode
|
||||||
|
nnoremap sx :!sxiv -t %d & <cr>
|
||||||
|
|
||||||
|
"Open selected images in gimp
|
||||||
|
nnoremap gp :!gimp %f & <cr>
|
||||||
|
|
||||||
|
" Start shell in current directory
|
||||||
|
nnoremap s :shell<cr>
|
||||||
|
|
||||||
|
" Display sorting dialog
|
||||||
|
nnoremap S :sort<cr>
|
||||||
|
|
||||||
|
" Toggle visibility of preview window
|
||||||
|
nnoremap w :view<cr>
|
||||||
|
vnoremap w :view<cr>gv
|
||||||
|
|
||||||
|
" Open file in the background using its default program
|
||||||
|
nnoremap gb :file &<cr>l
|
||||||
|
|
||||||
|
" Yank current directory path into the clipboard
|
||||||
|
nnoremap yd :!echo %d | xclip %i<cr>
|
||||||
|
|
||||||
|
" Yank current file path into the clipboard
|
||||||
|
nnoremap yf :!echo %c:p | xclip %i<cr>
|
||||||
|
|
||||||
|
" Mappings for faster renaming
|
||||||
|
nnoremap I cw<c-a>
|
||||||
|
nnoremap cc cw<c-u>
|
||||||
|
nnoremap A cw
|
||||||
|
|
||||||
|
" Open console in current directory
|
||||||
|
nnoremap ,t :!xterm &<cr>
|
||||||
|
|
||||||
|
" Open editor to edit vifmrc and apply settings after returning to vifm
|
||||||
|
nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
|
||||||
|
" Open gvim to edit vifmrc
|
||||||
|
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
|
||||||
|
|
||||||
|
" Toggle wrap setting on ,w key
|
||||||
|
nnoremap ,w :set wrap!<cr>
|
||||||
|
|
||||||
|
" Example of standard two-panel file managers mappings
|
||||||
|
nnoremap <f3> :!less %f<cr>
|
||||||
|
nnoremap <f4> :edit<cr>
|
||||||
|
nnoremap <f5> :copy<cr>
|
||||||
|
nnoremap <f6> :move<cr>
|
||||||
|
nnoremap <f7> :mkdir<space>
|
||||||
|
nnoremap <f8> :delete<cr>
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Various customization examples
|
||||||
|
|
||||||
|
" Use ag (the silver searcher) instead of grep
|
||||||
|
"
|
||||||
|
" set grepprg='ag --line-numbers %i %a %s'
|
||||||
|
|
||||||
|
" Add additional place to look for executables
|
||||||
|
"
|
||||||
|
" let $PATH = $HOME.'/bin/fuse:'.$PATH
|
||||||
|
|
||||||
|
" Block particular shortcut
|
||||||
|
"
|
||||||
|
" nnoremap <left> <nop>
|
||||||
|
|
||||||
|
" Export IPC name of current instance as environment variable and use it to
|
||||||
|
" communicate with the instance later.
|
||||||
|
"
|
||||||
|
" It can be used in some shell script that gets run from inside vifm, for
|
||||||
|
" example, like this:
|
||||||
|
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
|
||||||
|
"
|
||||||
|
" let $VIFM_SERVER_NAME = v:servername
|
|
@ -1,309 +0,0 @@
|
||||||
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
|
||||||
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
|
|
||||||
|
|
||||||
[manager]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<Esc>" ], run = "escape", desc = "Exit visual mode, clear selected, or cancel search" },
|
|
||||||
{ on = [ "<C-[>" ], run = "escape", desc = "Exit visual mode, clear selected, or cancel search" },
|
|
||||||
{ on = [ "q" ], run = "quit", desc = "Exit the process" },
|
|
||||||
{ on = [ "Q" ], run = "quit --no-cwd-file", desc = "Exit the process without writing cwd-file" },
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Close the current tab, or quit if it is last tab" },
|
|
||||||
{ on = [ "<C-z>" ], run = "suspend", desc = "Suspend the process" },
|
|
||||||
|
|
||||||
# Navigation
|
|
||||||
{ on = [ "k" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "j" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "K" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "J" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
{ on = [ "<S-Up>" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "<S-Down>" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
{ on = [ "<C-u>" ], run = "arrow -50%", desc = "Move cursor up half page" },
|
|
||||||
{ on = [ "<C-d>" ], run = "arrow 50%", desc = "Move cursor down half page" },
|
|
||||||
{ on = [ "<C-b>" ], run = "arrow -100%", desc = "Move cursor up one page" },
|
|
||||||
{ on = [ "<C-f>" ], run = "arrow 100%", desc = "Move cursor down one page" },
|
|
||||||
|
|
||||||
{ on = [ "<C-PageUp>" ], run = "arrow -50%", desc = "Move cursor up half page" },
|
|
||||||
{ on = [ "<C-PageDown>" ], run = "arrow 50%", desc = "Move cursor down half page" },
|
|
||||||
{ on = [ "<PageUp>" ], run = "arrow -100%", desc = "Move cursor up one page" },
|
|
||||||
{ on = [ "<PageDown>" ], run = "arrow 100%", desc = "Move cursor down one page" },
|
|
||||||
|
|
||||||
{ on = [ "h" ], run = "leave", desc = "Go back to the parent directory" },
|
|
||||||
{ on = [ "l" ], run = "enter", desc = "Enter the child directory" },
|
|
||||||
|
|
||||||
{ on = [ "H" ], run = "back", desc = "Go back to the previous directory" },
|
|
||||||
{ on = [ "L" ], run = "forward", desc = "Go forward to the next directory" },
|
|
||||||
|
|
||||||
{ on = [ "<A-k>" ], run = "seek -5", desc = "Seek up 5 units in the preview" },
|
|
||||||
{ on = [ "<A-j>" ], run = "seek 5", desc = "Seek down 5 units in the preview" },
|
|
||||||
{ on = [ "<A-PageUp>" ], run = "seek -5", desc = "Seek up 5 units in the preview" },
|
|
||||||
{ on = [ "<A-PageDown>" ], run = "seek 5", desc = "Seek down 5 units in the preview" },
|
|
||||||
|
|
||||||
{ on = [ "<Up>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<Down>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
{ on = [ "<Left>" ], run = "leave", desc = "Go back to the parent directory" },
|
|
||||||
{ on = [ "<Right>" ], run = "enter", desc = "Enter the child directory" },
|
|
||||||
|
|
||||||
{ on = [ "g", "g" ], run = "arrow -99999999", desc = "Move cursor to the top" },
|
|
||||||
{ on = [ "G" ], run = "arrow 99999999", desc = "Move cursor to the bottom" },
|
|
||||||
|
|
||||||
# Selection
|
|
||||||
{ on = [ "<Space>" ], run = [ "select --state=none", "arrow 1" ], desc = "Toggle the current selection state" },
|
|
||||||
{ on = [ "v" ], run = "visual_mode", desc = "Enter visual mode (selection mode)" },
|
|
||||||
{ on = [ "V" ], run = "visual_mode --unset", desc = "Enter visual mode (unset mode)" },
|
|
||||||
{ on = [ "<C-a>" ], run = "select_all --state=true", desc = "Select all files" },
|
|
||||||
{ on = [ "<C-r>" ], run = "select_all --state=none", desc = "Inverse selection of all files" },
|
|
||||||
|
|
||||||
# Operation
|
|
||||||
{ on = [ "o" ], run = "open", desc = "Open the selected files" },
|
|
||||||
{ on = [ "O" ], run = "open --interactive", desc = "Open the selected files interactively" },
|
|
||||||
{ on = [ "<Enter>" ], run = "open", desc = "Open the selected files" },
|
|
||||||
{ on = [ "<C-Enter>" ], run = "open --interactive", desc = "Open the selected files interactively" },
|
|
||||||
{ on = [ "y" ], run = "yank", desc = "Copy the selected files" },
|
|
||||||
{ on = [ "Y" ], run = "unyank", desc = "Cancel the yank status of files" },
|
|
||||||
{ on = [ "x" ], run = "yank --cut", desc = "Cut the selected files" },
|
|
||||||
{ on = [ "X" ], run = "unyank", desc = "Cancel the yank status of files" },
|
|
||||||
{ on = [ "p" ], run = "paste", desc = "Paste the files" },
|
|
||||||
{ on = [ "P" ], run = "paste --force", desc = "Paste the files (overwrite if the destination exists)" },
|
|
||||||
{ on = [ "-" ], run = "link", desc = "Symlink the absolute path of files" },
|
|
||||||
{ on = [ "_" ], run = "link --relative", desc = "Symlink the relative path of files" },
|
|
||||||
{ on = [ "d" ], run = "remove", desc = "Move the files to the trash" },
|
|
||||||
{ on = [ "D" ], run = "remove --permanently", desc = "Permanently delete the files" },
|
|
||||||
{ on = [ "a" ], run = "create", desc = "Create a file or directory (ends with / for directories)" },
|
|
||||||
{ on = [ "r" ], run = "rename --cursor=before_ext", desc = "Rename a file or directory" },
|
|
||||||
{ on = [ ";" ], run = "shell", desc = "Run a shell command" },
|
|
||||||
{ on = [ ":" ], run = "shell --block", desc = "Run a shell command (block the UI until the command finishes)" },
|
|
||||||
{ on = [ "." ], run = "hidden toggle", desc = "Toggle the visibility of hidden files" },
|
|
||||||
{ on = [ "s" ], run = "search fd", desc = "Search files by name using fd" },
|
|
||||||
{ on = [ "S" ], run = "search rg", desc = "Search files by content using ripgrep" },
|
|
||||||
{ on = [ "<C-s>" ], run = "search none", desc = "Cancel the ongoing search" },
|
|
||||||
{ on = [ "z" ], run = "jump zoxide", desc = "Jump to a directory using zoxide" },
|
|
||||||
{ on = [ "Z" ], run = "jump fzf", desc = "Jump to a directory, or reveal a file using fzf" },
|
|
||||||
|
|
||||||
# Linemode
|
|
||||||
{ on = [ "m", "s" ], run = "linemode size", desc = "Set linemode to size" },
|
|
||||||
{ on = [ "m", "p" ], run = "linemode permissions", desc = "Set linemode to permissions" },
|
|
||||||
{ on = [ "m", "m" ], run = "linemode mtime", desc = "Set linemode to mtime" },
|
|
||||||
{ on = [ "m", "n" ], run = "linemode none", desc = "Set linemode to none" },
|
|
||||||
|
|
||||||
# Copy
|
|
||||||
{ on = [ "c", "c" ], run = "copy path", desc = "Copy the absolute path" },
|
|
||||||
{ on = [ "c", "d" ], run = "copy dirname", desc = "Copy the path of the parent directory" },
|
|
||||||
{ on = [ "c", "f" ], run = "copy filename", desc = "Copy the name of the file" },
|
|
||||||
{ on = [ "c", "n" ], run = "copy name_without_ext", desc = "Copy the name of the file without the extension" },
|
|
||||||
|
|
||||||
# Filter
|
|
||||||
{ on = [ "f" ], run = "filter --smart", desc = "Filter the files" },
|
|
||||||
|
|
||||||
# Find
|
|
||||||
{ on = [ "/" ], run = "find --smart", desc = "Find next file" },
|
|
||||||
{ on = [ "?" ], run = "find --previous --smart", desc = "Find previous file" },
|
|
||||||
{ on = [ "n" ], run = "find_arrow", desc = "Go to next found file" },
|
|
||||||
{ on = [ "N" ], run = "find_arrow --previous", desc = "Go to previous found file" },
|
|
||||||
|
|
||||||
# Sorting
|
|
||||||
{ on = [ ",", "m" ], run = "sort modified --dir-first", desc = "Sort by modified time" },
|
|
||||||
{ on = [ ",", "M" ], run = "sort modified --reverse --dir-first", desc = "Sort by modified time (reverse)" },
|
|
||||||
{ on = [ ",", "c" ], run = "sort created --dir-first", desc = "Sort by created time" },
|
|
||||||
{ on = [ ",", "C" ], run = "sort created --reverse --dir-first", desc = "Sort by created time (reverse)" },
|
|
||||||
{ on = [ ",", "e" ], run = "sort extension --dir-first", desc = "Sort by extension" },
|
|
||||||
{ on = [ ",", "E" ], run = "sort extension --reverse --dir-first", desc = "Sort by extension (reverse)" },
|
|
||||||
{ on = [ ",", "a" ], run = "sort alphabetical --dir-first", desc = "Sort alphabetically" },
|
|
||||||
{ on = [ ",", "A" ], run = "sort alphabetical --reverse --dir-first", desc = "Sort alphabetically (reverse)" },
|
|
||||||
{ on = [ ",", "n" ], run = "sort natural --dir-first", desc = "Sort naturally" },
|
|
||||||
{ on = [ ",", "N" ], run = "sort natural --reverse --dir-first", desc = "Sort naturally (reverse)" },
|
|
||||||
{ on = [ ",", "s" ], run = "sort size --dir-first", desc = "Sort by size" },
|
|
||||||
{ on = [ ",", "S" ], run = "sort size --reverse --dir-first", desc = "Sort by size (reverse)" },
|
|
||||||
|
|
||||||
# Tabs
|
|
||||||
{ on = [ "t" ], run = "tab_create --current", desc = "Create a new tab using the current path" },
|
|
||||||
|
|
||||||
{ on = [ "1" ], run = "tab_switch 0", desc = "Switch to the first tab" },
|
|
||||||
{ on = [ "2" ], run = "tab_switch 1", desc = "Switch to the second tab" },
|
|
||||||
{ on = [ "3" ], run = "tab_switch 2", desc = "Switch to the third tab" },
|
|
||||||
{ on = [ "4" ], run = "tab_switch 3", desc = "Switch to the fourth tab" },
|
|
||||||
{ on = [ "5" ], run = "tab_switch 4", desc = "Switch to the fifth tab" },
|
|
||||||
{ on = [ "6" ], run = "tab_switch 5", desc = "Switch to the sixth tab" },
|
|
||||||
{ on = [ "7" ], run = "tab_switch 6", desc = "Switch to the seventh tab" },
|
|
||||||
{ on = [ "8" ], run = "tab_switch 7", desc = "Switch to the eighth tab" },
|
|
||||||
{ on = [ "9" ], run = "tab_switch 8", desc = "Switch to the ninth tab" },
|
|
||||||
|
|
||||||
{ on = [ "[" ], run = "tab_switch -1 --relative", desc = "Switch to the previous tab" },
|
|
||||||
{ on = [ "]" ], run = "tab_switch 1 --relative", desc = "Switch to the next tab" },
|
|
||||||
|
|
||||||
{ on = [ "{" ], run = "tab_swap -1", desc = "Swap the current tab with the previous tab" },
|
|
||||||
{ on = [ "}" ], run = "tab_swap 1", desc = "Swap the current tab with the next tab" },
|
|
||||||
|
|
||||||
# Tasks
|
|
||||||
{ on = [ "w" ], run = "tasks_show", desc = "Show the tasks manager" },
|
|
||||||
|
|
||||||
# Goto
|
|
||||||
{ on = [ "g", "h" ], run = "cd ~", desc = "Go to the home directory" },
|
|
||||||
{ on = [ "g", "c" ], run = "cd ~/.config", desc = "Go to the config directory" },
|
|
||||||
{ on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go to the downloads directory" },
|
|
||||||
{ on = [ "g", "t" ], run = "cd /tmp", desc = "Go to the temporary directory" },
|
|
||||||
{ on = [ "g", "<Space>" ], run = "cd --interactive", desc = "Go to a directory interactively" },
|
|
||||||
|
|
||||||
# Help
|
|
||||||
{ on = [ "~" ], run = "help", desc = "Open help" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[tasks]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<Esc>" ], run = "close", desc = "Hide the task manager" },
|
|
||||||
{ on = [ "<C-[>" ], run = "close", desc = "Hide the task manager" },
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Hide the task manager" },
|
|
||||||
{ on = [ "w" ], run = "close", desc = "Hide the task manager" },
|
|
||||||
|
|
||||||
{ on = [ "k" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "j" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<Up>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<Down>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<Enter>" ], run = "inspect", desc = "Inspect the task" },
|
|
||||||
{ on = [ "x" ], run = "cancel", desc = "Cancel the task" },
|
|
||||||
|
|
||||||
{ on = [ "~" ], run = "help", desc = "Open help" }
|
|
||||||
]
|
|
||||||
|
|
||||||
[select]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<Esc>" ], run = "close", desc = "Cancel selection" },
|
|
||||||
{ on = [ "<C-[>" ], run = "close", desc = "Cancel selection" },
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Cancel selection" },
|
|
||||||
{ on = [ "<Enter>" ], run = "close --submit", desc = "Submit the selection" },
|
|
||||||
|
|
||||||
{ on = [ "k" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "j" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "K" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "J" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
{ on = [ "<Up>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<Down>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<S-Up>" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "<S-Down>" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
{ on = [ "~" ], run = "help", desc = "Open help" }
|
|
||||||
]
|
|
||||||
|
|
||||||
[input]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Cancel input" },
|
|
||||||
{ on = [ "<Enter>" ], run = "close --submit", desc = "Submit the input" },
|
|
||||||
{ on = [ "<Esc>" ], run = "escape", desc = "Go back the normal mode, or cancel input" },
|
|
||||||
{ on = [ "<C-[>" ], run = "escape", desc = "Go back the normal mode, or cancel input" },
|
|
||||||
|
|
||||||
# Mode
|
|
||||||
{ on = [ "i" ], run = "insert", desc = "Enter insert mode" },
|
|
||||||
{ on = [ "a" ], run = "insert --append", desc = "Enter append mode" },
|
|
||||||
{ on = [ "I" ], run = [ "move -999", "insert" ], desc = "Move to the BOL, and enter insert mode" },
|
|
||||||
{ on = [ "A" ], run = [ "move 999", "insert --append" ], desc = "Move to the EOL, and enter append mode" },
|
|
||||||
{ on = [ "v" ], run = "visual", desc = "Enter visual mode" },
|
|
||||||
{ on = [ "V" ], run = [ "move -999", "visual", "move 999" ], desc = "Enter visual mode and select all" },
|
|
||||||
|
|
||||||
# Character-wise movement
|
|
||||||
{ on = [ "h" ], run = "move -1", desc = "Move back a character" },
|
|
||||||
{ on = [ "l" ], run = "move 1", desc = "Move forward a character" },
|
|
||||||
{ on = [ "<Left>" ], run = "move -1", desc = "Move back a character" },
|
|
||||||
{ on = [ "<Right>" ], run = "move 1", desc = "Move forward a character" },
|
|
||||||
{ on = [ "<C-b>" ], run = "move -1", desc = "Move back a character" },
|
|
||||||
{ on = [ "<C-f>" ], run = "move 1", desc = "Move forward a character" },
|
|
||||||
|
|
||||||
# Word-wise movement
|
|
||||||
{ on = [ "b" ], run = "backward", desc = "Move back to the start of the current or previous word" },
|
|
||||||
{ on = [ "w" ], run = "forward", desc = "Move forward to the start of the next word" },
|
|
||||||
{ on = [ "e" ], run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" },
|
|
||||||
{ on = [ "<A-b>" ], run = "backward", desc = "Move back to the start of the current or previous word" },
|
|
||||||
{ on = [ "<A-f>" ], run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" },
|
|
||||||
|
|
||||||
# Line-wise movement
|
|
||||||
{ on = [ "0" ], run = "move -999", desc = "Move to the BOL" },
|
|
||||||
{ on = [ "$" ], run = "move 999", desc = "Move to the EOL" },
|
|
||||||
{ on = [ "<C-a>" ], run = "move -999", desc = "Move to the BOL" },
|
|
||||||
{ on = [ "<C-e>" ], run = "move 999", desc = "Move to the EOL" },
|
|
||||||
{ on = [ "<Home>" ], run = "move -999", desc = "Move to the BOL" },
|
|
||||||
{ on = [ "<End>" ], run = "move 999", desc = "Move to the EOL" },
|
|
||||||
|
|
||||||
# Delete
|
|
||||||
{ on = [ "<Backspace>" ], run = "backspace", desc = "Delete the character before the cursor" },
|
|
||||||
{ on = [ "<Delete>" ], run = "backspace --under", desc = "Delete the character under the cursor" },
|
|
||||||
{ on = [ "<C-h>" ], run = "backspace", desc = "Delete the character before the cursor" },
|
|
||||||
{ on = [ "<C-d>" ], run = "backspace --under", desc = "Delete the character under the cursor" },
|
|
||||||
|
|
||||||
# Kill
|
|
||||||
{ on = [ "<C-u>" ], run = "kill bol", desc = "Kill backwards to the BOL" },
|
|
||||||
{ on = [ "<C-k>" ], run = "kill eol", desc = "Kill forwards to the EOL" },
|
|
||||||
{ on = [ "<C-w>" ], run = "kill backward", desc = "Kill backwards to the start of the current word" },
|
|
||||||
{ on = [ "<A-d>" ], run = "kill forward", desc = "Kill forwards to the end of the current word" },
|
|
||||||
|
|
||||||
# Cut/Yank/Paste
|
|
||||||
{ on = [ "d" ], run = "delete --cut", desc = "Cut the selected characters" },
|
|
||||||
{ on = [ "D" ], run = [ "delete --cut", "move 999" ], desc = "Cut until the EOL" },
|
|
||||||
{ on = [ "c" ], run = "delete --cut --insert", desc = "Cut the selected characters, and enter insert mode" },
|
|
||||||
{ on = [ "C" ], run = [ "delete --cut --insert", "move 999" ], desc = "Cut until the EOL, and enter insert mode" },
|
|
||||||
{ on = [ "x" ], run = [ "delete --cut", "move 1 --in-operating" ], desc = "Cut the current character" },
|
|
||||||
{ on = [ "y" ], run = "yank", desc = "Copy the selected characters" },
|
|
||||||
{ on = [ "p" ], run = "paste", desc = "Paste the copied characters after the cursor" },
|
|
||||||
{ on = [ "P" ], run = "paste --before", desc = "Paste the copied characters before the cursor" },
|
|
||||||
|
|
||||||
# Undo/Redo
|
|
||||||
{ on = [ "u" ], run = "undo", desc = "Undo the last operation" },
|
|
||||||
{ on = [ "<C-r>" ], run = "redo", desc = "Redo the last operation" },
|
|
||||||
|
|
||||||
# Help
|
|
||||||
{ on = [ "~" ], run = "help", desc = "Open help" }
|
|
||||||
]
|
|
||||||
|
|
||||||
[completion]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Cancel completion" },
|
|
||||||
{ on = [ "<Tab>" ], run = "close --submit", desc = "Submit the completion" },
|
|
||||||
{ on = [ "<Enter>" ], run = [ "close --submit", "close_input --submit" ], desc = "Submit the completion and input" },
|
|
||||||
|
|
||||||
{ on = [ "<A-k>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<A-j>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<Up>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<Down>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<C-p>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<C-n>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "~" ], run = "help", desc = "Open help" }
|
|
||||||
]
|
|
||||||
|
|
||||||
[help]
|
|
||||||
|
|
||||||
keymap = [
|
|
||||||
{ on = [ "<Esc>" ], run = "escape", desc = "Clear the filter, or hide the help" },
|
|
||||||
{ on = [ "<C-[>" ], run = "escape", desc = "Clear the filter, or hide the help" },
|
|
||||||
{ on = [ "q" ], run = "close", desc = "Exit the process" },
|
|
||||||
{ on = [ "<C-q>" ], run = "close", desc = "Hide the help" },
|
|
||||||
|
|
||||||
# Navigation
|
|
||||||
{ on = [ "k" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "j" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "K" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "J" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
{ on = [ "<Up>" ], run = "arrow -1", desc = "Move cursor up" },
|
|
||||||
{ on = [ "<Down>" ], run = "arrow 1", desc = "Move cursor down" },
|
|
||||||
|
|
||||||
{ on = [ "<S-Up>" ], run = "arrow -5", desc = "Move cursor up 5 lines" },
|
|
||||||
{ on = [ "<S-Down>" ], run = "arrow 5", desc = "Move cursor down 5 lines" },
|
|
||||||
|
|
||||||
# Filtering
|
|
||||||
{ on = [ "/" ], run = "filter", desc = "Apply a filter for the help items" },
|
|
||||||
]
|
|
|
@ -1,146 +0,0 @@
|
||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
|
||||||
|
|
||||||
# : Manager {{{
|
|
||||||
|
|
||||||
[manager]
|
|
||||||
cwd = { fg = "#83a598" }
|
|
||||||
|
|
||||||
# Hovered
|
|
||||||
hovered = { fg = "#282828", bg = "#83a598" }
|
|
||||||
preview_hovered = { underline = true }
|
|
||||||
|
|
||||||
# Find
|
|
||||||
find_keyword = { fg = "#b8bb26", italic = true }
|
|
||||||
find_position = { fg = "#fe8019", bg = "reset", italic = true }
|
|
||||||
|
|
||||||
# Marker
|
|
||||||
marker_selected = { fg = "#b8bb26", bg = "#b8bb26" }
|
|
||||||
marker_copied = { fg = "#b8bb26", bg = "#b8bb26" }
|
|
||||||
marker_cut = { fg = "#fb4934", bg = "#fb4934" }
|
|
||||||
|
|
||||||
# Tab
|
|
||||||
tab_active = { fg = "#282828", bg = "#504945" }
|
|
||||||
tab_inactive = { fg = "#a89984", bg = "#3c3836" }
|
|
||||||
tab_width = 1
|
|
||||||
|
|
||||||
# Border
|
|
||||||
border_symbol = "│"
|
|
||||||
border_style = { fg = "#665c54" }
|
|
||||||
|
|
||||||
# Highlighting
|
|
||||||
# syntect_theme = "~/.config/yazi/Gruvbox-Dark.tmTheme"
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Status {{{
|
|
||||||
|
|
||||||
[status]
|
|
||||||
separator_open = ""
|
|
||||||
separator_close = ""
|
|
||||||
separator_style = { fg = "#3c3836", bg = "#3c3836" }
|
|
||||||
|
|
||||||
# Mode
|
|
||||||
mode_normal = { fg = "#282828", bg = "#A89984", bold = true }
|
|
||||||
mode_select = { fg = "#282828", bg = "#b8bb26", bold = true }
|
|
||||||
mode_unset = { fg = "#282828", bg = "#d3869b", bold = true }
|
|
||||||
|
|
||||||
# Progress
|
|
||||||
progress_label = { fg = "#ebdbb2", bold = true }
|
|
||||||
progress_normal = { fg = "#504945", bg = "#3c3836" }
|
|
||||||
progress_error = { fg = "#fb4934", bg = "#3c3836" }
|
|
||||||
|
|
||||||
# Permissions
|
|
||||||
permissions_t = { fg = "#504945" }
|
|
||||||
permissions_r = { fg = "#b8bb26" }
|
|
||||||
permissions_w = { fg = "#fb4934" }
|
|
||||||
permissions_x = { fg = "#b8bb26" }
|
|
||||||
permissions_s = { fg = "#665c54" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Input {{{
|
|
||||||
|
|
||||||
[input]
|
|
||||||
border = { fg = "#504945" }
|
|
||||||
title = {}
|
|
||||||
value = {}
|
|
||||||
selected = { reversed = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Select {{{
|
|
||||||
|
|
||||||
[select]
|
|
||||||
border = { fg = "#504945" }
|
|
||||||
active = { fg = "#fe8019" }
|
|
||||||
inactive = {}
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Tasks {{{
|
|
||||||
|
|
||||||
[tasks]
|
|
||||||
border = { fg = "#504945" }
|
|
||||||
title = {}
|
|
||||||
hovered = { underline = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Which {{{
|
|
||||||
|
|
||||||
[which]
|
|
||||||
mask = { bg = "#3c3836" }
|
|
||||||
cand = { fg = "#83a598" }
|
|
||||||
rest = { fg = "#928374" }
|
|
||||||
desc = { fg = "#fe8019" }
|
|
||||||
separator = " "
|
|
||||||
separator_style = { fg = "#504945" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Help {{{
|
|
||||||
|
|
||||||
[help]
|
|
||||||
on = { fg = "#fe8019" }
|
|
||||||
exec = { fg = "#83a598" }
|
|
||||||
desc = { fg = "#928374" }
|
|
||||||
hovered = { bg = "#504945", bold = true }
|
|
||||||
footer = { fg = "#3c3836", bg = "#a89984" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : File-specific styles {{{
|
|
||||||
|
|
||||||
[filetype]
|
|
||||||
|
|
||||||
rules = [
|
|
||||||
# Images
|
|
||||||
{ mime = "image/*", fg = "#83a598" },
|
|
||||||
|
|
||||||
# Videos
|
|
||||||
{ mime = "video/*", fg = "#b8bb26" },
|
|
||||||
{ mime = "audio/*", fg = "#b8bb26" },
|
|
||||||
|
|
||||||
# Archives
|
|
||||||
{ mime = "application/zip", fg = "#fe8019" },
|
|
||||||
{ mime = "application/gzip", fg = "#fe8019" },
|
|
||||||
{ mime = "application/x-tar", fg = "#fe8019" },
|
|
||||||
{ mime = "application/x-bzip", fg = "#fe8019" },
|
|
||||||
{ mime = "application/x-bzip2", fg = "#fe8019" },
|
|
||||||
{ mime = "application/x-7z-compressed", fg = "#fe8019" },
|
|
||||||
{ mime = "application/x-rar", fg = "#fe8019" },
|
|
||||||
|
|
||||||
# Fallback
|
|
||||||
{ name = "*", fg = "#a89984" },
|
|
||||||
{ name = "*/", fg = "#83a598" }
|
|
||||||
]
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
|
@ -1,188 +0,0 @@
|
||||||
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
|
||||||
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
|
|
||||||
|
|
||||||
[manager]
|
|
||||||
ratio = [ 1, 4, 3 ]
|
|
||||||
sort_by = "alphabetical"
|
|
||||||
sort_sensitive = false
|
|
||||||
sort_reverse = false
|
|
||||||
sort_dir_first = false
|
|
||||||
linemode = "none"
|
|
||||||
show_hidden = false
|
|
||||||
show_symlink = true
|
|
||||||
scrolloff = 5
|
|
||||||
|
|
||||||
[preview]
|
|
||||||
tab_size = 2
|
|
||||||
max_width = 600
|
|
||||||
max_height = 900
|
|
||||||
cache_dir = ""
|
|
||||||
image_filter = "triangle"
|
|
||||||
image_quality = 75
|
|
||||||
sixel_fraction = 15
|
|
||||||
ueberzug_scale = 1
|
|
||||||
ueberzug_offset = [ 0, 0, 0, 0 ]
|
|
||||||
|
|
||||||
[opener]
|
|
||||||
edit = [
|
|
||||||
{ run = '${EDITOR} "$@"', desc = "$EDITOR", block = true, for = "unix" },
|
|
||||||
]
|
|
||||||
open = [
|
|
||||||
{ run = 'xdg-open "$@"', desc = "Open", for = "linux" },
|
|
||||||
]
|
|
||||||
reveal = [
|
|
||||||
{ run = '''exiftool "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show EXIF", for = "unix" },
|
|
||||||
]
|
|
||||||
extract = [
|
|
||||||
{ run = 'unar "$1"', desc = "Extract here", for = "unix" },
|
|
||||||
]
|
|
||||||
play = [
|
|
||||||
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
|
||||||
{ run = '''mediainfo "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show media info", for = "unix" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[open]
|
|
||||||
rules = [
|
|
||||||
{ name = "*/", use = [ "edit", "open", "reveal" ] },
|
|
||||||
|
|
||||||
{ mime = "text/*", use = [ "edit", "reveal" ] },
|
|
||||||
{ mime = "image/*", use = [ "open", "reveal" ] },
|
|
||||||
{ mime = "video/*", use = [ "play", "reveal" ] },
|
|
||||||
{ mime = "audio/*", use = [ "play", "reveal" ] },
|
|
||||||
{ mime = "inode/x-empty", use = [ "edit", "reveal" ] },
|
|
||||||
|
|
||||||
{ mime = "application/json", use = [ "edit", "reveal" ] },
|
|
||||||
{ mime = "*/javascript", use = [ "edit", "reveal" ] },
|
|
||||||
|
|
||||||
{ mime = "application/zip", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/gzip", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/x-tar", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/x-bzip", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/x-bzip2", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/x-7z-compressed", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/x-rar", use = [ "extract", "reveal" ] },
|
|
||||||
{ mime = "application/xz", use = [ "extract", "reveal" ] },
|
|
||||||
|
|
||||||
{ mime = "*", use = [ "open", "reveal" ] },
|
|
||||||
]
|
|
||||||
|
|
||||||
[tasks]
|
|
||||||
micro_workers = 10
|
|
||||||
macro_workers = 25
|
|
||||||
bizarre_retry = 5
|
|
||||||
image_alloc = 536870912 # 512MB
|
|
||||||
image_bound = [ 0, 0 ]
|
|
||||||
suppress_preload = false
|
|
||||||
|
|
||||||
[plugin]
|
|
||||||
|
|
||||||
preloaders = [
|
|
||||||
{ name = "*", cond = "!mime", run = "mime", multi = true, prio = "high" },
|
|
||||||
# Image
|
|
||||||
{ mime = "image/vnd.djvu", run = "noop" },
|
|
||||||
{ mime = "image/*", run = "image" },
|
|
||||||
# Video
|
|
||||||
{ mime = "video/*", run = "video" },
|
|
||||||
# PDF
|
|
||||||
{ mime = "application/pdf", run = "pdf" },
|
|
||||||
]
|
|
||||||
previewers = [
|
|
||||||
{ name = "*/", run = "folder", sync = true },
|
|
||||||
# Code
|
|
||||||
{ mime = "text/*", run = "code" },
|
|
||||||
{ mime = "*/xml", run = "code" },
|
|
||||||
{ mime = "*/javascript", run = "code" },
|
|
||||||
{ mime = "*/x-wine-extension-ini", run = "code" },
|
|
||||||
# JSON
|
|
||||||
{ mime = "application/json", run = "json" },
|
|
||||||
# Image
|
|
||||||
{ mime = "image/vnd.djvu", run = "noop" },
|
|
||||||
{ mime = "image/*", run = "image" },
|
|
||||||
# Video
|
|
||||||
{ mime = "video/*", run = "video" },
|
|
||||||
# PDF
|
|
||||||
{ mime = "application/pdf", run = "pdf" },
|
|
||||||
# Archive
|
|
||||||
{ mime = "application/zip", run = "archive" },
|
|
||||||
{ mime = "application/gzip", run = "archive" },
|
|
||||||
{ mime = "application/x-tar", run = "archive" },
|
|
||||||
{ mime = "application/x-bzip", run = "archive" },
|
|
||||||
{ mime = "application/x-bzip2", run = "archive" },
|
|
||||||
{ mime = "application/x-7z-compressed", run = "archive" },
|
|
||||||
{ mime = "application/x-rar", run = "archive" },
|
|
||||||
{ mime = "application/xz", run = "archive" },
|
|
||||||
# Fallback
|
|
||||||
{ name = "*", run = "file" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[input]
|
|
||||||
# cd
|
|
||||||
cd_title = "Change directory:"
|
|
||||||
cd_origin = "top-center"
|
|
||||||
cd_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# create
|
|
||||||
create_title = "Create:"
|
|
||||||
create_origin = "top-center"
|
|
||||||
create_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# rename
|
|
||||||
rename_title = "Rename:"
|
|
||||||
rename_origin = "hovered"
|
|
||||||
rename_offset = [ 0, 1, 50, 3 ]
|
|
||||||
|
|
||||||
# trash
|
|
||||||
trash_title = "Move {n} selected file{s} to trash? (y/N)"
|
|
||||||
trash_origin = "top-center"
|
|
||||||
trash_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# delete
|
|
||||||
delete_title = "Delete {n} selected file{s} permanently? (y/N)"
|
|
||||||
delete_origin = "top-center"
|
|
||||||
delete_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# filter
|
|
||||||
filter_title = "Filter:"
|
|
||||||
filter_origin = "top-center"
|
|
||||||
filter_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# find
|
|
||||||
find_title = [ "Find next:", "Find previous:" ]
|
|
||||||
find_origin = "top-center"
|
|
||||||
find_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# search
|
|
||||||
search_title = "Search via {n}:"
|
|
||||||
search_origin = "top-center"
|
|
||||||
search_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# shell
|
|
||||||
shell_title = [ "Shell:", "Shell (block):" ]
|
|
||||||
shell_origin = "top-center"
|
|
||||||
shell_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# overwrite
|
|
||||||
overwrite_title = "Overwrite an existing file? (y/N)"
|
|
||||||
overwrite_origin = "top-center"
|
|
||||||
overwrite_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
# quit
|
|
||||||
quit_title = "{n} task{s} running, sure to quit? (y/N)"
|
|
||||||
quit_origin = "top-center"
|
|
||||||
quit_offset = [ 0, 2, 50, 3 ]
|
|
||||||
|
|
||||||
[select]
|
|
||||||
open_title = "Open with:"
|
|
||||||
open_origin = "hovered"
|
|
||||||
open_offset = [ 0, 1, 50, 7 ]
|
|
||||||
|
|
||||||
[which]
|
|
||||||
sort_by = "none"
|
|
||||||
sort_sensitive = false
|
|
||||||
sort_reverse = false
|
|
||||||
|
|
||||||
[log]
|
|
||||||
enabled = false
|
|
||||||
|
|
||||||
[headsup]
|
|
|
@ -46,10 +46,11 @@ const char *spcmd5[] = {"st", "-n", "spani", "-c", "spani", "-g", "140x35", "-e
|
||||||
const char *spcmd6[] = {"st", "-n", "spytf", "-c", "spytf", "-g", "140x35", "-e", "ytfzf", "-flst", NULL};
|
const char *spcmd6[] = {"st", "-n", "spytf", "-c", "spytf", "-g", "140x35", "-e", "ytfzf", "-flst", NULL};
|
||||||
const char *spcmd7[] = {"st", "-n", "spytm", "-c", "spytm", "-g", "140x35", "-e", "ytfzf", "-mlst", NULL};
|
const char *spcmd7[] = {"st", "-n", "spytm", "-c", "spytm", "-g", "140x35", "-e", "ytfzf", "-mlst", NULL};
|
||||||
const char *spcmd8[] = {"st", "-n", "spmsc", "-c", "spmsc", "-g", "140x35", "-e", "musikcube", NULL};
|
const char *spcmd8[] = {"st", "-n", "spmsc", "-c", "spmsc", "-g", "140x35", "-e", "musikcube", NULL};
|
||||||
const char *spcmd9[] = {"st", "-n", "spflm", "-c", "spflm", "-g", "140x35", "-e", "yazi", NULL};
|
const char *spcmd9[] = {"st", "-n", "spflm", "-c", "spflm", "-g", "140x35", "-e", ".config/vifm/scripts/vifmrun", NULL};
|
||||||
const char *spcmd10[] = {"st", "-n", "sprss", "-c", "sprss", "-g", "140x35", "-e", "newsboat", NULL};
|
const char *spcmd10[] = {"st", "-n", "sprss", "-c", "sprss", "-g", "140x35", "-e", "newsboat", NULL};
|
||||||
const char *spcmd11[] = {"st", "-n", "sptut", "-c", "sptut", "-g", "140x35", "-e", "tut", NULL};
|
const char *spcmd11[] = {"st", "-n", "sptut", "-c", "sptut", "-g", "140x35", "-e", "tut", NULL};
|
||||||
const char *spcmd12[] = {"flatpak", "run", "com.bitwarden.desktop", NULL};
|
const char *spcmd12[] = {"flatpak", "run", "com.bitwarden.desktop", NULL};
|
||||||
|
const char *spcmd13[] = {"flatpak", "run", "io.github.Qalculate", NULL};
|
||||||
|
|
||||||
static Sp scratchpads[] = {
|
static Sp scratchpads[] = {
|
||||||
/* NAME CMD */
|
/* NAME CMD */
|
||||||
|
@ -65,6 +66,7 @@ static Sp scratchpads[] = {
|
||||||
{"sprss", spcmd10},
|
{"sprss", spcmd10},
|
||||||
{"sptut", spcmd11},
|
{"sptut", spcmd11},
|
||||||
{"spbit", spcmd12},
|
{"spbit", spcmd12},
|
||||||
|
{"spqal", spcmd13},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Tag Definitions */
|
/* Tag Definitions */
|
||||||
|
@ -89,7 +91,6 @@ static const Rule rules[] = {
|
||||||
/* CLASS - INSTANCE - TITLE - TAGS MASK - ISFLOATING - MONITOR */
|
/* CLASS - INSTANCE - TITLE - TAGS MASK - ISFLOATING - MONITOR */
|
||||||
/* 0 - No Tag */
|
/* 0 - No Tag */
|
||||||
{"Galculator", NULL, NULL, 0, 1, -1},
|
{"Galculator", NULL, NULL, 0, 1, -1},
|
||||||
{"Qalculate-gtk", NULL, NULL, 0, 1, -1},
|
|
||||||
{"Blueman-manager", NULL, NULL, 0, 1, -1},
|
{"Blueman-manager", NULL, NULL, 0, 1, -1},
|
||||||
{"Gpick", NULL, NULL, 0, 1, -1},
|
{"Gpick", NULL, NULL, 0, 1, -1},
|
||||||
{"Kruler", NULL, NULL, 0, 1, -1},
|
{"Kruler", NULL, NULL, 0, 1, -1},
|
||||||
|
@ -185,8 +186,9 @@ static const Rule rules[] = {
|
||||||
{NULL, "spmsc", NULL, SPTAG(7), 1, -1},
|
{NULL, "spmsc", NULL, SPTAG(7), 1, -1},
|
||||||
{NULL, "spflm", NULL, SPTAG(8), 1, -1},
|
{NULL, "spflm", NULL, SPTAG(8), 1, -1},
|
||||||
{NULL, "sprss", NULL, SPTAG(9), 1, -1},
|
{NULL, "sprss", NULL, SPTAG(9), 1, -1},
|
||||||
{NULL, "sptut", NULL, SPTAG(10), 1, -1},
|
{NULL, "sptut", NULL, SPTAG(10), 1, -1},
|
||||||
{"Bitwarden", NULL, NULL, SPTAG(11), 1, -1},
|
{"Bitwarden", NULL, NULL, SPTAG(11), 1, -1},
|
||||||
|
{"Qalculate-gtk", NULL, NULL, SPTAG(12), 1, -1},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Layout(s) */
|
/* Layout(s) */
|
||||||
|
@ -328,10 +330,11 @@ static Keychord *keychords[] = {
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_y}}, togglescratch, {.ui = 5 } }), /* Toggle ytfzf scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_y}}, togglescratch, {.ui = 5 } }), /* Toggle ytfzf scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_n}}, togglescratch, {.ui = 6 } }), /* Toggle ytfzf (music) scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_n}}, togglescratch, {.ui = 6 } }), /* Toggle ytfzf (music) scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_m}}, togglescratch, {.ui = 7 } }), /* Toggle musikcube scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_m}}, togglescratch, {.ui = 7 } }), /* Toggle musikcube scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_v}}, togglescratch, {.ui = 8 } }), /* Toggle yazi scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_v}}, togglescratch, {.ui = 8 } }), /* Toggle vifm scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_r}}, togglescratch, {.ui = 9 } }), /* Toggle newsboat scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_r}}, togglescratch, {.ui = 9 } }), /* Toggle newsboat scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_t}}, togglescratch, {.ui = 10 } }), /* Toggle tut scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_t}}, togglescratch, {.ui = 10 } }), /* Toggle tut scratchpad */
|
||||||
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_k}}, togglescratch, {.ui = 11 } }), /* Toggle Bitwarden scratchpad */
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_k}}, togglescratch, {.ui = 11 } }), /* Toggle Bitwarden scratchpad */
|
||||||
|
&((Keychord){2, {{MODKEY, XK_s}, {0, XK_c}}, togglescratch, {.ui = 12 } }), /* Toggle Qalculate scratchpad */
|
||||||
|
|
||||||
/* Session Management */
|
/* Session Management */
|
||||||
&((Keychord){1, {{MODKEY|ControlMask|ShiftMask, XK_q}}, quit, {0} }),
|
&((Keychord){1, {{MODKEY|ControlMask|ShiftMask, XK_q}}, quit, {0} }),
|
||||||
|
|
Loading…
Reference in a new issue