Compare commits
No commits in common. "e1eb817d5bc69e675387152e3d9ffbe5ca40570d" and "63cb3b1e0e6653e85bbc98cf2ab0eac3ae16dd0b" have entirely different histories.
e1eb817d5b
...
63cb3b1e0e
11 changed files with 43 additions and 120 deletions
|
@ -1,4 +1,13 @@
|
|||
[Settings]
|
||||
; gtk-icon-theme-name=breeze
|
||||
; gtk-theme-name=Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
gtk-icon-theme-name=Papirus-Dark
|
||||
gtk-application-prefer-dark-theme=false
|
||||
gtk-cursor-theme-name=Catppuccin-Mocha-Dark-Cursors
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-icon-theme-name=breeze
|
||||
gtk-modules=colorreload-gtk-module
|
||||
gtk-primary-button-warps-slider=false
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
gtk-xft-dpi=98304
|
||||
|
|
1
home/private_dot_config/gtk-4.0/symlink_assets
Normal file
1
home/private_dot_config/gtk-4.0/symlink_assets
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/share/themes/Catppuccin-Mocha-Standard-Rosewater-dark/gtk-4.0/assets
|
1
home/private_dot_config/gtk-4.0/symlink_gtk-dark.css
Normal file
1
home/private_dot_config/gtk-4.0/symlink_gtk-dark.css
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/share/themes/Catppuccin-Mocha-Standard-Rosewater-dark/gtk-4.0/gtk-dark.css
|
1
home/private_dot_config/gtk-4.0/symlink_gtk.css
Normal file
1
home/private_dot_config/gtk-4.0/symlink_gtk.css
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/share/themes/Catppuccin-Mocha-Standard-Rosewater-dark/gtk-4.0/gtk.css
|
|
@ -3,7 +3,7 @@
|
|||
exec = swww init
|
||||
|
||||
exec-once = dunst -conf ~/.config/hypr/dunstrc
|
||||
exec-once = udiskie &
|
||||
# exec-once = udiskie &
|
||||
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
|
||||
|
||||
exec = hypridle
|
||||
|
|
|
@ -11,4 +11,4 @@ vim.opt.timeoutlen = 200
|
|||
vim.g.autoformat = false
|
||||
|
||||
-- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522
|
||||
vim.g.zig_fmt_autosave = 0
|
||||
-- vim.g.zig_fmt_autosave = 0
|
||||
|
|
|
@ -40,10 +40,3 @@ thermocycler
|
|||
insert
|
||||
gRNA
|
||||
linearized
|
||||
on
|
||||
titer
|
||||
lentiviral
|
||||
transfection
|
||||
transduce
|
||||
transduction
|
||||
nimscript
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
[Settings]
|
||||
; gtk-icon-theme-name=breeze
|
||||
; gtk-theme-name=Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
gtk-application-prefer-dark-theme=false
|
||||
gtk-button-images=true
|
||||
gtk-cursor-theme-name=Catppuccin-Mocha-Dark-Cursors
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-icon-theme-name=breeze
|
||||
gtk-menu-images=true
|
||||
gtk-modules=colorreload-gtk-module
|
||||
gtk-primary-button-warps-slider=false
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
gtk-toolbar-style=3
|
||||
gtk-xft-dpi=98304
|
||||
|
|
|
@ -30,10 +30,7 @@ _pdm() {
|
|||
'list:List packages installed in the current working set'
|
||||
'lock:Resolve and lock dependencies'
|
||||
'self:Manage the PDM program itself (previously known as plugin)'
|
||||
'outdated:Check for outdated packages and list the latest versions'
|
||||
'publish:Build and publish the project to PyPI'
|
||||
'python:Manage installed Python interpreters'
|
||||
'py:Manage installed Python interpreters'
|
||||
'remove:Remove packages from pyproject.toml'
|
||||
'run:Run commands or scripts with local packages loaded'
|
||||
'search:Search for PyPI packages'
|
||||
|
@ -49,7 +46,6 @@ _pdm() {
|
|||
{-c,--config}'[Specify another config file path\[env var: PDM_CONFIG_FILE\]]' \
|
||||
{-V,--version}'[Show the version and exit]' \
|
||||
{-I,--ignore-python}'[Ignore the Python path saved in .pdm-python]' \
|
||||
'--no-cache:Disable the cache for the current command. [env var: PDM_NO_CACHE]' \
|
||||
'--pep582:Print the command line to be eval by the shell:shell:(zsh bash fish tcsh csh)' \
|
||||
'*:: :->_subcmds' \
|
||||
&& return 0
|
||||
|
@ -87,7 +83,6 @@ _pdm() {
|
|||
"--stable[Only allow stable versions to be pinned]"
|
||||
{-e+,--editable+}'[Specify editable packages]:packages'
|
||||
{-x,--fail-fast}'[Abort on first installation error]'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
"--dry-run[Show the difference only without modifying the lockfile content]"
|
||||
'*:packages:_pdm_pip_packages'
|
||||
|
@ -100,7 +95,7 @@ _pdm() {
|
|||
{-d+,--dest+}'[Target directory to put artifacts]:directory:_files -/'
|
||||
{-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]'
|
||||
'--no-clean[Do not clean the target directory]'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=--opt(=value)" or "-C--opt(=value)"]'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
)
|
||||
;;
|
||||
|
@ -161,8 +156,7 @@ _pdm() {
|
|||
"--editable-self[Include the project itself as an editable dependency]"
|
||||
{-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files'
|
||||
{-o+,--output+}"[Write output to the given file, or print to stdout if not given]:output file:_files"
|
||||
{-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
"--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups"
|
||||
{-G+,--group+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
{-d,--dev}"[Select dev dependencies]"
|
||||
{--prod,--production}"[Unselect dev dependencies]"
|
||||
"--no-default[Don't include dependencies from the default group]"
|
||||
|
@ -210,8 +204,7 @@ _pdm() {
|
|||
install)
|
||||
arguments+=(
|
||||
{-g,--global}'[Use the global project, supply the project root with `-p` option]'
|
||||
{-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
"--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups"
|
||||
{-G+,--group+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
{-d,--dev}"[Select dev dependencies]"
|
||||
{-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files'
|
||||
{--prod,--production}"[Unselect dev dependencies]"
|
||||
|
@ -221,7 +214,6 @@ _pdm() {
|
|||
'--no-editable[Install non-editable versions for all packages]'
|
||||
"--no-self[Don't install the project itself]"
|
||||
{-x,--fail-fast}'[Abort on first installation error]'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
"--dry-run[Show the difference only without modifying the lock file content]"
|
||||
"--check[Check if the lock file is up to date and fail otherwise]"
|
||||
|
@ -251,13 +243,11 @@ _pdm() {
|
|||
arguments+=(
|
||||
{-g,--global}'[Use the global project, supply the project root with `-p` option]'
|
||||
{-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[Do not isolate the build in a clean environment]"
|
||||
{-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]'
|
||||
"--refresh[Refresh the content hash and file hashes in the lock file]"
|
||||
"--refresh[Don't update pinned versions, only refresh the lock file]"
|
||||
"--check[Check if the lock file is up to date and quit]"
|
||||
{-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
"--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups"
|
||||
{-G+,--group+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
{-d,--dev}"[Select dev dependencies]"
|
||||
{--prod,--production}"[Unselect dev dependencies]"
|
||||
'--update-reuse[Reuse pinned versions already present in lock file if possible]'
|
||||
|
@ -266,16 +256,9 @@ _pdm() {
|
|||
"--no-static-urls[(DEPRECATED) Do not store static file URLs in the lockfile]"
|
||||
"--no-default[Don\'t include dependencies from the default group]"
|
||||
"--no-cross-platform[(DEPRECATED) Only lock packages for the current platform]"
|
||||
"--exclude-newer[Exclude packages newer than the given UTC date in format YYYY-MM-DD\[THH:MM:SSZ\]]:exclude-newer:"
|
||||
{-S,--strategy}'[Specify lock strategy(cross_platform,static_urls,direct_minimal_versions). Add no_ prefix to disable. Support given multiple times or split by comma.]:strategy:'
|
||||
)
|
||||
;;
|
||||
outdated)
|
||||
arguments+=(
|
||||
'--json[Output in JSON format]'
|
||||
'*:patterns:'
|
||||
)
|
||||
;;
|
||||
self)
|
||||
_arguments -C \
|
||||
$arguments \
|
||||
|
@ -309,7 +292,6 @@ _pdm() {
|
|||
list)
|
||||
arguments+=(
|
||||
'--plugins[List plugins only]'
|
||||
'*:patterns:'
|
||||
)
|
||||
;;
|
||||
update)
|
||||
|
@ -326,40 +308,6 @@ _pdm() {
|
|||
esac
|
||||
return $ret
|
||||
;;
|
||||
python|py)
|
||||
_arguments -C \
|
||||
$arguments \
|
||||
': :->command' \
|
||||
'*:: :->args' && ret=0
|
||||
case $state in
|
||||
command)
|
||||
local -a actions=(
|
||||
"remove:Remove a Python interpreter installed with PDM"
|
||||
"list:List all Python interpreters installed with PDM"
|
||||
"install:Install a Python interpreter with PDM"
|
||||
)
|
||||
_describe -t command 'pdm python actions' actions && ret=0
|
||||
;;
|
||||
args)
|
||||
case $words[1] in
|
||||
remove)
|
||||
arguments+=(
|
||||
':python:'
|
||||
)
|
||||
;;
|
||||
install)
|
||||
arguments+=(
|
||||
'--list[List all available Python versions]'
|
||||
':python:_files'
|
||||
)
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
return $ret
|
||||
;;
|
||||
publish)
|
||||
arguments+=(
|
||||
{-r,--repository}'[The repository name or url to publish the package to }\[env var: PDM_PUBLISH_REPO\]]:repository:'
|
||||
|
@ -369,7 +317,6 @@ _pdm() {
|
|||
{-i,--identity}'[GPG identity used to sign files.]:gpg identity:'
|
||||
{-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]'
|
||||
{-c,--comment}'[The comment to include with the distribution file.]:comment:'
|
||||
{-d,--dest}'[The directory to upload the package from]:dest:_files'
|
||||
"--no-verify-ssl[Disable SSL verification]"
|
||||
"--ca-certs[The path to a PEM-encoded Certificate Authority bundle to use for publish server validation]:cacerts:_files"
|
||||
"--no-build[Don't build the package before publishing]"
|
||||
|
@ -388,7 +335,6 @@ _pdm() {
|
|||
"--no-self[Don't install the project itself]"
|
||||
"--frozen-lockfile[Don't try to create or update the lockfile. \[env var: PDM_FROZEN_LOCKFILE\]]"
|
||||
{-x,--fail-fast}'[Abort on first installation error]'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
"--dry-run[Show the difference only without modifying the lockfile content]"
|
||||
'--venv[Run the command in the virtual environment with the given key. \[env var: PDM_IN_VENV\]]:venv:'
|
||||
|
@ -433,8 +379,7 @@ _pdm() {
|
|||
sync)
|
||||
arguments+=(
|
||||
{-g,--global}'[Use the global project, supply the project root with `-p` option]'
|
||||
{-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
"--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups"
|
||||
{-G+,--group+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
{-d,--dev}"[Select dev dependencies]"
|
||||
{-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files'
|
||||
{--prod,--production}"[Unselect dev dependencies]"
|
||||
|
@ -447,7 +392,6 @@ _pdm() {
|
|||
{-x,--fail-fast}'[Abort on first installation error]'
|
||||
'--no-editable[Install non-editable versions for all packages]'
|
||||
"--no-self[Don't install the project itself]"
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
'--venv[Run the command in the virtual environment with the given key. \[env var: PDM_IN_VENV\]]:venv:'
|
||||
)
|
||||
|
@ -455,8 +399,7 @@ _pdm() {
|
|||
update)
|
||||
arguments+=(
|
||||
{-g,--global}'[Use the global project, supply the project root with `-p` option]'
|
||||
{-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
"--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups"
|
||||
{-G+,--group+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups'
|
||||
{-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files'
|
||||
'--save-compatible[Save compatible version specifiers]'
|
||||
'--save-wildcard[Save wildcard version specifiers]'
|
||||
|
@ -481,7 +424,6 @@ _pdm() {
|
|||
"--dry-run[Show the difference only without modifying the lockfile content]"
|
||||
"--outdated[Show the difference only without modifying the lockfile content]"
|
||||
{-x,--fail-fast}'[Abort on first installation error]'
|
||||
{-C,--config-setting}'[Pass options to the backend. options with a value must be specified after "=": "--config-setting=key(=value)" or "-Ckey(=value)"]:cs:'
|
||||
"--no-isolation[do not isolate the build in a clean environment]"
|
||||
'--venv[Run the command in the virtual environment with the given key. \[env var: PDM_IN_VENV\]]:venv:'
|
||||
"*:packages:_pdm_packages"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#compdef rclone
|
||||
compdef _rclone rclone
|
||||
#compdef _rclone rclone
|
||||
|
||||
# zsh completion for rclone -*- shell-script -*-
|
||||
|
||||
|
@ -18,9 +17,8 @@ _rclone()
|
|||
local shellCompDirectiveNoFileComp=4
|
||||
local shellCompDirectiveFilterFileExt=8
|
||||
local shellCompDirectiveFilterDirs=16
|
||||
local shellCompDirectiveKeepOrder=32
|
||||
|
||||
local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace keepOrder
|
||||
local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace
|
||||
local -a completions
|
||||
|
||||
__rclone_debug "\n========= starting completion logic =========="
|
||||
|
@ -88,24 +86,7 @@ _rclone()
|
|||
return
|
||||
fi
|
||||
|
||||
local activeHelpMarker="_activeHelp_ "
|
||||
local endIndex=${#activeHelpMarker}
|
||||
local startIndex=$((${#activeHelpMarker}+1))
|
||||
local hasActiveHelp=0
|
||||
while IFS='\n' read -r comp; do
|
||||
# Check if this is an activeHelp statement (i.e., prefixed with $activeHelpMarker)
|
||||
if [ "${comp[1,$endIndex]}" = "$activeHelpMarker" ];then
|
||||
__rclone_debug "ActiveHelp found: $comp"
|
||||
comp="${comp[$startIndex,-1]}"
|
||||
if [ -n "$comp" ]; then
|
||||
compadd -x "${comp}"
|
||||
__rclone_debug "ActiveHelp will need delimiter"
|
||||
hasActiveHelp=1
|
||||
fi
|
||||
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ -n "$comp" ]; then
|
||||
# If requested, completions are returned with a description.
|
||||
# The description is preceded by a TAB character.
|
||||
|
@ -113,7 +94,7 @@ _rclone()
|
|||
# We first need to escape any : as part of the completion itself.
|
||||
comp=${comp//:/\\:}
|
||||
|
||||
local tab="$(printf '\t')"
|
||||
local tab=$(printf '\t')
|
||||
comp=${comp//$tab/:}
|
||||
|
||||
__rclone_debug "Adding completion: ${comp}"
|
||||
|
@ -122,27 +103,11 @@ _rclone()
|
|||
fi
|
||||
done < <(printf "%s\n" "${out[@]}")
|
||||
|
||||
# Add a delimiter after the activeHelp statements, but only if:
|
||||
# - there are completions following the activeHelp statements, or
|
||||
# - file completion will be performed (so there will be choices after the activeHelp)
|
||||
if [ $hasActiveHelp -eq 1 ]; then
|
||||
if [ ${#completions} -ne 0 ] || [ $((directive & shellCompDirectiveNoFileComp)) -eq 0 ]; then
|
||||
__rclone_debug "Adding activeHelp delimiter"
|
||||
compadd -x "--"
|
||||
hasActiveHelp=0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then
|
||||
__rclone_debug "Activating nospace."
|
||||
noSpace="-S ''"
|
||||
fi
|
||||
|
||||
if [ $((directive & shellCompDirectiveKeepOrder)) -ne 0 ]; then
|
||||
__rclone_debug "Activating keep order."
|
||||
keepOrder="-V"
|
||||
fi
|
||||
|
||||
if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then
|
||||
# File extension filtering
|
||||
local filteringCmd
|
||||
|
@ -160,7 +125,7 @@ _rclone()
|
|||
_arguments '*:filename:'"$filteringCmd"
|
||||
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
|
||||
# File completion for directories only
|
||||
local subdir
|
||||
local subDir
|
||||
subdir="${completions[1]}"
|
||||
if [ -n "$subdir" ]; then
|
||||
__rclone_debug "Listing directories in $subdir"
|
||||
|
@ -178,7 +143,7 @@ _rclone()
|
|||
return $result
|
||||
else
|
||||
__rclone_debug "Calling _describe"
|
||||
if eval _describe $keepOrder "completions" completions $flagPrefix $noSpace; then
|
||||
if eval _describe "completions" completions $flagPrefix $noSpace; then
|
||||
__rclone_debug "_describe found some completions"
|
||||
|
||||
# Return the success of having called _describe
|
||||
|
|
|
@ -23,4 +23,4 @@ gen chezmoi completion zsh
|
|||
gen rye self completion -s zsh
|
||||
gen gh completion -s zsh
|
||||
gen pixi completion -s zsh
|
||||
gen rclone completion zsh -
|
||||
gen rclone completion zsh
|
||||
|
|
Loading…
Reference in a new issue