Add wayland variables and fix termux dotdrop profile
This commit is contained in:
parent
914df5f436
commit
6523521f48
4 changed files with 21 additions and 17 deletions
|
@ -39,12 +39,12 @@ zinit ice lucid atinit'zpcompinit'
|
|||
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||
|
||||
# use fzf with zsh
|
||||
{%@@ if profile == "mko-laptop" @@%}
|
||||
# Source from home directory since mko-laptop is ubuntu and it has an
|
||||
{%@@ if os == "arch" @@%}
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
{%@@ elif os == "ubuntu" @@%}
|
||||
# Source from home directory since ubuntu has
|
||||
# old version of FZF in it's repositories
|
||||
source ~/Software/fzf/shell/key-bindings.zsh
|
||||
source ~/Software/fzf/shell/completion.zsh
|
||||
{%@@ else @@%}
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
{%@@ endif @@%}
|
||||
|
|
|
@ -118,7 +118,7 @@ alias i='iwctl station wlan0'
|
|||
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
||||
|
||||
# dotdrop
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config.toml $@ }
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p isengard{%@@ endif @@%}$@ }
|
||||
sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config-root.toml $@ }
|
||||
updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
|
||||
compdef _dotdrop-completion.zsh sdotdrop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue