~piotr-machura/dotfiles

ad6f20bf86dbec012d11f0bd50699d39d7e1034a — Piotr Machura 30 days ago 0b9da7f
Use thunar archive plugin instead of custom actions
M .config/Thunar/uca.xml => .config/Thunar/uca.xml +0 -25
@@ 16,31 16,6 @@
	<video-files/>
</action>
<action>
	<icon>/usr/share/icons/Papirus/128x128/apps/xarchiver.svg</icon>
	<name>Extract...</name>
	<unique-id>1638113338075241-1</unique-id>
	<command>xarchiver -e %f</command>
	<description>Extract archive file</description>
	<patterns>*.zip;*.gz;*.tar;*.tar.*;*.zst;*.xz;*.xpi;*.bz2;*.lzma;*.lz4;*.jar;*.epub;*.cbz;*.apk;*.oxt;*.7z;*.rar</patterns>
	<startup-notify/>
	<other-files/>
</action>
<action>
	<icon>/usr/share/icons/Papirus/128x128/apps/xarchiver.svg</icon>
	<name>Compress...</name>
	<unique-id>1637286492911418-1</unique-id>
	<command>xarchiver -c %F</command>
	<description>Compress with Xarchiver</description>
	<patterns>*</patterns>
	<startup-notify/>
	<directories/>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>utilities-terminal</icon>
	<name>Open in terminal</name>
	<unique-id>1613817232280781-1</unique-id>

M .config/kak/filetypes.kak => .config/kak/filetypes.kak +4 -0
@@ 5,6 5,10 @@ hook global WinSetOption filetype=python %{
    add-highlighter shared/python/code/ regex \b([a-zA-Z_]\w*)\h*(?=\() 0:function
}

hook global WinSetOption filetype=rust %{
    set-option buffer textwidth 100
}

hook global WinSetOption filetype=sh %{
    set-option buffer formatcmd "shfmt -i %opt{indentwidth} -"
}

M .config/kak/kakrc => .config/kak/kakrc +7 -0
@@ 96,6 96,13 @@ define-command format-width \
evaluate-commands %sh{
    kak-lsp --kakoune -s "$kak_session" -c "$XDG_CONFIG_HOME/kak/lsp.toml"
}
define-command -hidden -override lsp-handle-progress -params 6 %{
    set-option global lsp_modeline_progress %sh{
        if ! "$6"; then
            echo ""
        fi
    }
}
lsp-enable
set-option global lsp_hover_anchor false
set-option global lsp_diagnostic_line_error_sign ' '

M .config/sk.bash => .config/sk.bash +1 -1
@@ 1,7 1,7 @@
# -------------
# SKIM COMMANDS
# -------------
export SKIM_DEFAULT_COMMAND="fd --hidden"
export SKIM_DEFAULT_COMMAND="rg --files"

colors='hl:6,hl+:6,fg:-1,fg+:4,bg:-1,bg+:,matched_bg:0,current_match_bg:0'
colors="$colors,header:2,info:0,query:7,pointer:3,marker:1,prompt:3,cursor:6,spinner:0"

M .config/xarchiver/xarchiverrc => .config/xarchiver/xarchiverrc +1 -1
@@ 1,5 1,5 @@
[xarchiver]
preferred_format=22
preferred_format=19
prefer_unzip=true
confirm_deletion=true
sort_filename_content=true

M .local/share/pacman/aur.txt => .local/share/pacman/aur.txt +0 -1
@@ 5,7 5,6 @@ lightdm-mini-greeter
paru-bin
python-jupytext
python-lsp-isort
rar
rstudio-desktop-bin
vscode-langservers-extracted
xcursor-breeze

M .local/share/pacman/pkg.txt => .local/share/pacman/pkg.txt +2 -2
@@ 11,7 11,6 @@ docker
docker-compose
dunst
exfatprogs
fd
firefox
gdb
git


@@ 38,7 37,6 @@ man-db
mkvtoolnix-cli
networkmanager
noto-fonts-emoji
npm
p7zip
pacman-contrib
pamixer


@@ 74,6 72,7 @@ skim
syncthing
tectonic
texlab
thunar-archive-plugin
thunar-media-tags-plugin
thunar-volman
transmission-gtk


@@ 82,6 81,7 @@ ttf-jetbrains-mono
ttf-nerd-fonts-symbols-mono
ufw
unclutter
unrar
unzip
xarchiver
xclip