Improve configs
This commit is contained in:
parent
f3e91cd9dc
commit
6c16a85be2
8 changed files with 10 additions and 7 deletions
|
@ -79,6 +79,7 @@ case $1 in
|
||||||
edit) _systemctl "$2" edit --full ;;
|
edit) _systemctl "$2" edit --full ;;
|
||||||
enable) _systemctl "$2" add-wants autostart.target ;;
|
enable) _systemctl "$2" add-wants autostart.target ;;
|
||||||
disable) _systemctl "$2" enable ;;
|
disable) _systemctl "$2" enable ;;
|
||||||
|
status) _systemctl "${2:-*}" status ;;
|
||||||
start) systemctl --user start autostart.target ;;
|
start) systemctl --user start autostart.target ;;
|
||||||
*) echo "'$1' is not valid" ;;
|
*) echo "'$1' is not valid" ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "Deleting tag from origin"
|
echo "Deleting tag from origin"
|
||||||
git push --delete origin "$1"
|
git push --delete origin "$1"
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ alias ip='ip -c'
|
||||||
|
|
||||||
alias j='jump'
|
alias j='jump'
|
||||||
|
|
||||||
alias keepass-unlock='(pkill keepassxc; pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx)'
|
alias keepass-unlock='(pkill keepassxc; pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) & disown'
|
||||||
|
|
||||||
alias less='less -FS -x4'
|
alias less='less -FS -x4'
|
||||||
alias ls='ls -lFh --color=auto'
|
alias ls='ls -lFh --color=auto'
|
||||||
|
|
|
@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
conky.config = {
|
conky.config = {
|
||||||
alignment = 'top_left',
|
alignment = 'top_left',
|
||||||
background = true,
|
background = false,
|
||||||
border_width = 1,
|
border_width = 1,
|
||||||
cpu_avg_samples = 2,
|
cpu_avg_samples = 2,
|
||||||
default_color = 'white',
|
default_color = 'white',
|
||||||
|
|
|
@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
conky.config = {
|
conky.config = {
|
||||||
alignment = 'top_left',
|
alignment = 'top_left',
|
||||||
background = true,
|
background = false,
|
||||||
border_width = 1,
|
border_width = 1,
|
||||||
cpu_avg_samples = 2,
|
cpu_avg_samples = 2,
|
||||||
default_color = 'white',
|
default_color = 'white',
|
||||||
|
|
|
@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
conky.config = {
|
conky.config = {
|
||||||
alignment = 'top_left',
|
alignment = 'top_left',
|
||||||
background = true,
|
background = false,
|
||||||
border_width = 1,
|
border_width = 1,
|
||||||
cpu_avg_samples = 2,
|
cpu_avg_samples = 2,
|
||||||
default_color = 'white',
|
default_color = 'white',
|
||||||
|
|
|
@ -73,6 +73,9 @@ plugin_path="$ZSH_CUSTOM/plugins"
|
||||||
autoinstall git \
|
autoinstall git \
|
||||||
"https://github.com/zsh-users/zsh-syntax-highlighting.git" \
|
"https://github.com/zsh-users/zsh-syntax-highlighting.git" \
|
||||||
"$plugin_path/zsh-syntax-highlighting"
|
"$plugin_path/zsh-syntax-highlighting"
|
||||||
|
autoinstall git \
|
||||||
|
"https://github.com/spwhitt/nix-zsh-completions.git" \
|
||||||
|
"$plugin_path/nix-zsh-completions"
|
||||||
autoinstall file \
|
autoinstall file \
|
||||||
"https://gist.githubusercontent.com/oshybystyi/475ee7768efc03727f21/raw/4bfd57ef277f5166f3070f11800548b95a501a19/git-auto-status.plugin.zsh" \
|
"https://gist.githubusercontent.com/oshybystyi/475ee7768efc03727f21/raw/4bfd57ef277f5166f3070f11800548b95a501a19/git-auto-status.plugin.zsh" \
|
||||||
"$plugin_path/git-auto-status/git-auto-status.plugin.zsh"
|
"$plugin_path/git-auto-status/git-auto-status.plugin.zsh"
|
||||||
|
@ -95,6 +98,7 @@ plugins=(
|
||||||
'git-auto-status'
|
'git-auto-status'
|
||||||
'jump'
|
'jump'
|
||||||
'laravel5'
|
'laravel5'
|
||||||
|
'nix-zsh-completions'
|
||||||
'rust'
|
'rust'
|
||||||
'safe-paste'
|
'safe-paste'
|
||||||
'sudo'
|
'sudo'
|
||||||
|
|
|
@ -16,7 +16,7 @@ _autostart()
|
||||||
wait_for_service "network-online.target"
|
wait_for_service "network-online.target"
|
||||||
|
|
||||||
pass x
|
pass x
|
||||||
(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
|
(pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
|
||||||
pass x && sleep 5
|
pass x && sleep 5
|
||||||
|
|
||||||
autoinstall graphical
|
autoinstall graphical
|
||||||
|
|
Loading…
Reference in a new issue