Plugin static loading

This commit is contained in:
Matus Namesny 2022-01-07 17:43:30 +01:00
parent 2ed347eae0
commit a910b5bc3d
7 changed files with 35 additions and 47 deletions

View File

@ -1 +0,0 @@
{"extensions":{"gTile@vibou":{"/org/gnome/shell/extensions/gtile/":"[/]\nshow-toggle-tiling=['<Super>t']\nshow-toggle-tiling-alt=['']"},"hide-activities-button@gnome-shell-extensions.bookmarkd.xyz":{},"alternate-tab@gnome-shell-extensions.gcampax.github.com":{},"user-theme@gnome-shell-extensions.gcampax.github.com":{"/org/gnome/shell/extensions/user-theme/":"[/]\nname='Arc-Dark'"},"impatience@gfxmonk.net":{"/org/gnome/shell/extensions/net/gfxmonk/impatience/":""},"dash-to-dock@micxgx.gmail.com":{"/org/gnome/shell/extensions/dash-to-dock/":"[/]\napply-custom-theme=false\nautohide-in-fullscreen=false\ncustom-theme-shrink=false\ndock-fixed=false\ndock-position='BOTTOM'\nextend-height=false\nforce-straight-corner=false\nhot-keys=false\nintellihide-mode='ALL_WINDOWS'\nisolate-monitors=false\nisolate-workspaces=false\nmulti-monitor=true\npreferred-monitor=0\nshow-apps-at-top=true\nshow-favorites=true\nshow-running=true\nshow-trash=false\nshow-windows-preview=true\ntransparency-mode='FIXED'"},"sound-output-device-chooser@kgshank.net":{"/org/gnome/shell/extensions/sound-output-device-chooser/":"[/]\nicon-theme='monochrome'\nnew-profile-indentification=false\nports-settings='{\"version\":2,\"ports\":[]}'"},"launch-new-instance@gnome-shell-extensions.gcampax.github.com":{},"native-window-placement@gnome-shell-extensions.gcampax.github.com":{"/org/gnome/shell/extensions/native-window-placement/":""},"drive-menu@gnome-shell-extensions.gcampax.github.com":{},"bluetooth-quick-connect@bjarosze.gmail.com":{"/org/gnome/shell/extensions/bluetooth-quick-connect/":""},"apt-update-indicator@franglais125.gmail.com":{"/org/gnome/shell/extensions/apt-update-indicator/":"[/]\nalways-visible=false\ninterval-unit='days'\nlast-check-date-automatic-double=1626012273612.0\nlast-check-date-double=1626012273612.0\nupdate-cmd-options='update-manager'"},"workspace-buttons@carmanaught":{"/org/gnome/shell/extensions/workspacebuttons/":"[/]\nbutton-to-activate='Primary'\nbuttons-position-change=true\nbuttons-position-index=0\nclick-to-activate=true\nempty-workspace-hide=true\nempty-workspace-style=false\nworkspace-label-indicator=false"},"workspaces-to-dock@passingthru67.gmail.com":{"/org/gnome/shell/extensions/workspaces-to-dock/":"[/]\nautohide=false\nbackground-opacity=0.5\ncustomize-height=false\ndashtodock-hover=false\ndock-edge-visible=false\ndock-fixed=false\nhorizontal-workspace-switching=false\nintellihide=true\noverview-action='SHOW_FULL'\nscroll-with-touchpad=false\nshow-shortcuts-panel=false\ntoggle-overview=false\nworkspace-caption-items=['spacer:false', 'windowapps:false']\nworkspace-captions=true"},"Always-Show-Titles-In-Overview@gmail.com":{}},"keybindings":{"/org/gnome/mutter/keybindings/":"","/org/gnome/mutter/wayland/keybindings/":"","/org/gnome/shell/keybindings/":"[/]\nfocus-active-notification=@as []","/org/gnome/desktop/wm/keybindings/":"[/]\nmove-to-workspace-1=['<Shift><Super>exclam']\nmove-to-workspace-2=['<Shift><Super>at']\nmove-to-workspace-3=['<Shift><Super>numbersign']\nmove-to-workspace-4=['<Shift><Super>dollar']\nswitch-to-workspace-1=['<Super>1']\nswitch-to-workspace-2=['<Super>2']\nswitch-to-workspace-3=['<Super>3']\nswitch-to-workspace-4=['<Super>4']","/org/gnome/settings-daemon/plugins/media-keys/":"[/]\ncustom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']\nhome=['<Super>n']\nscreensaver=@as []\nsearch=['<Super>d']\nterminal=['<Super>Return']\n\n[custom-keybindings/custom0]\nbinding='<Super>l'\ncommand='/home/matus/bin/i3lock/lock.sh -n -p'\nname='Lock'"},"tweaks":{"/org/gnome/desktop/background/":"[/]\ncolor-shading-type='solid'\npicture-options='zoom'\npicture-uri='file:///home/matus/Pictures/Wallpapers/firewatch_blue.png'\nprimary-color='#000000'\nsecondary-color='#000000'","/org/gnome/desktop/calendar/":"","/org/gnome/desktop/input-sources/":"[/]\nmru-sources=[('xkb', 'sk+qwerty'), ('xkb', 'us')]\nsources=[('xkb', 'us'), ('xkb', 'sk+qwerty')]\nxkb-options=['grp_led:scroll']","/org/gnome/desktop/interface/":"[/]\nclock-show-date=true\nclock-show-weekday=false\ncursor-theme='Adwaita'\ngtk-im-module='gtk-im-context-simple'\ngtk-theme='Arc-Dark'\nicon-theme='Papirus-Dark'\nscaling-factor=uint32 2\nshow-battery-percentage=true\ntext-scaling-factor=1.0\ntoolkit-accessibility=false","/org/gnome/desktop/peripherals/":"[keyboard]\nnumlock-state=true\n\n[mouse]\nnatural-scroll=false\nspeed=0.58718861209964412\n\n[touchpad]\nclick-method='areas'\nspeed=0.43772241992882566\ntwo-finger-scrolling-enabled=true","/org/gnome/desktop/screensaver/":"[/]\nlock-enabled=false\nubuntu-lock-on-suspend=false","/org/gnome/desktop/sound/":"[/]\nallow-volume-above-100-percent=false","/org/gnome/desktop/wm/preferences/":"","/org/gnome/mutter/":"[/]\nattach-modal-dialogs=false\nexperimental-features=['x11-randr-fractional-scaling']","/org/gnome/settings-daemon/plugins/xsettings/":"[/]\nantialiasing='grayscale'\nhinting='slight'"}}

12
.gitmodules vendored Normal file
View File

@ -0,0 +1,12 @@
[submodule ".zsh/ohmyzsh"]
path = .zsh/ohmyzsh
url = git@github.com:ohmyzsh/ohmyzsh.git
[submodule ".zsh/zsh-syntax-highlighting"]
path = .zsh/zsh-syntax-highlighting
url = git@github.com:zsh-users/zsh-syntax-highlighting.git
[submodule ".zsh/zsh-autosuggestions"]
path = .zsh/zsh-autosuggestions
url = git@github.com:zsh-users/zsh-autosuggestions.git
[submodule ".zsh/zsh-completions"]
path = .zsh/zsh-completions
url = git@github.com:zsh-users/zsh-completions.git

1
.zsh/ohmyzsh Submodule

@ -0,0 +1 @@
Subproject commit 67cc59b4258a13232cddfddd75f44d8ca2b80172

@ -0,0 +1 @@
Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8

1
.zsh/zsh-completions Submodule

@ -0,0 +1 @@
Subproject commit 20f3cd5f5d3e6ef7deb343b11c084e1fb2f5a3f2

@ -0,0 +1 @@
Subproject commit c7caf57ca805abd54f11f756fda6395dd4187f8a

65
.zshrc
View File

@ -1,4 +1,3 @@
#source $HOME/.antigen.zsh
source $HOME/.aliases
# Set $PATH
@ -19,8 +18,7 @@ if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
# Conda
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
@ -32,9 +30,8 @@ else
fi
fi
unset __conda_setup
# <<< conda initialize <<<
#
# >>> Lazy NVM >>>
# Node Version Manager
lazynvm() {
unset -f nvm node npm
@ -57,46 +54,22 @@ npm() {
npm $@
}
# <<< Lazy NVM <<<
# ZSH Plugins
### Added by Zinit's installer
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f"
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit"
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \
print -P "%F{160}▓▒░ The clone has failed.%f%b"
fi
## Oh My Zsh
source ~/.zsh/ohmyzsh/plugins/pip/pip.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/command-not-found/command-not-found.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/docker/_docker
source ~/.zsh/ohmyzsh/plugins/docker-compose/docker-compose.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/git/git.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/golang/golang.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/jsontools/jsontools.plugin.zsh
source ~/.zsh/ohmyzsh/plugins/sudo/sudo.plugin.zsh
source "$HOME/.zinit/bin/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
### End of Zinit's installer chunk
### Prompt Theme
source ~/.zsh/ohmyzsh/themes/gentoo.zsh-theme
# Zinit plugins and themes
# Must Load OMZ Git library
zinit snippet OMZL::git.zsh
# Load Git plugin from OMZ
zinit snippet OMZP::git
zinit cdclear -q # <- forget completions provided up to this moment
zinit light zinit-zsh/z-a-meta-plugins
zinit light zsh-users/zsh-history-substring-search
zinit snippet OMZ::plugins/pip/pip.plugin.zsh
zinit snippet OMZ::plugins/docker-compose/docker-compose.plugin.zsh
zinit snippet OMZ::plugins/docker/_docker
zinit snippet OMZ::plugins/command-not-found/command-not-found.plugin.zsh
zinit for annexes zsh-users+fast zdharma
setopt prompt_subst
zinit wait'!' lucid for \
OMZL::prompt_info_functions.zsh \
OMZT::gentoo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
## zsh-users
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/zsh-completions/zsh-completions.plugin.zsh
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh