diff --git a/.config/extensions-sync.json b/.config/extensions-sync.json deleted file mode 100644 index 835bfbb..0000000 --- a/.config/extensions-sync.json +++ /dev/null @@ -1 +0,0 @@ -{"extensions":{"gTile@vibou":{"/org/gnome/shell/extensions/gtile/":"[/]\nshow-toggle-tiling=['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=['exclam']\nmove-to-workspace-2=['at']\nmove-to-workspace-3=['numbersign']\nmove-to-workspace-4=['dollar']\nswitch-to-workspace-1=['1']\nswitch-to-workspace-2=['2']\nswitch-to-workspace-3=['3']\nswitch-to-workspace-4=['4']","/org/gnome/settings-daemon/plugins/media-keys/":"[/]\ncustom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']\nhome=['n']\nscreensaver=@as []\nsearch=['d']\nterminal=['Return']\n\n[custom-keybindings/custom0]\nbinding='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'"}} \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5d8e7cc --- /dev/null +++ b/.gitmodules @@ -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 diff --git a/.zsh/ohmyzsh b/.zsh/ohmyzsh new file mode 160000 index 0000000..67cc59b --- /dev/null +++ b/.zsh/ohmyzsh @@ -0,0 +1 @@ +Subproject commit 67cc59b4258a13232cddfddd75f44d8ca2b80172 diff --git a/.zsh/zsh-autosuggestions b/.zsh/zsh-autosuggestions new file mode 160000 index 0000000..a411ef3 --- /dev/null +++ b/.zsh/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/.zsh/zsh-completions b/.zsh/zsh-completions new file mode 160000 index 0000000..20f3cd5 --- /dev/null +++ b/.zsh/zsh-completions @@ -0,0 +1 @@ +Subproject commit 20f3cd5f5d3e6ef7deb343b11c084e1fb2f5a3f2 diff --git a/.zsh/zsh-syntax-highlighting b/.zsh/zsh-syntax-highlighting new file mode 160000 index 0000000..c7caf57 --- /dev/null +++ b/.zsh/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit c7caf57ca805abd54f11f756fda6395dd4187f8a diff --git a/.zshrc b/.zshrc index b4ca0ff..21f2d02 100644 --- a/.zshrc +++ b/.zshrc @@ -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