fix: refactor naming
This commit is contained in:
parent
870eed0b2a
commit
f2c7dee45d
6 changed files with 9 additions and 6 deletions
|
@ -18,7 +18,7 @@ alias git-update-submodules='
|
|||
alias gpg2-decrypt='function _gpg2-decrypt(){ gpg2 --output ${1%".gpg"} --decrypt $1; }; _gpg2-decrypt'
|
||||
alias gpg2-encrypt='function _gpg2-encrypt(){ gpg2 --output $1.gpg --encrypt $1; }; _gpg2-encrypt'
|
||||
|
||||
alias hist-grep='history 1 | grep '
|
||||
alias hist-grep='history 0 | grep '
|
||||
|
||||
alias ls='ls -Flh --color=never'
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
logg = log --graph
|
||||
logo = log --graph --decorate --oneline --all
|
||||
diffc = diff --cached
|
||||
diffs = diff --stat
|
||||
|
||||
[merge]
|
||||
tool = vim_mergetool
|
||||
|
@ -41,3 +42,5 @@
|
|||
ff = only
|
||||
[push]
|
||||
followTags = true
|
||||
[format]
|
||||
signOff = yes
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
modules-left = bspwm i3
|
||||
modules-center = mpd
|
||||
modules-right = memory cpu fan-speed temperature eth arch-updates date powermenu
|
||||
modules-right = memory cpu fan-speed temperature eth check-arch-updates date powermenu
|
||||
|
||||
eth-interface = enp0s31f6
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
|
||||
modules-left = bspwm i3
|
||||
modules-center =
|
||||
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth arch-updates date powermenu
|
||||
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth check-arch-updates date powermenu
|
||||
|
||||
eth-interface = enp2s0f1
|
||||
wlan-interface = wlp3s0
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
|
||||
label = %output:4%
|
||||
|
||||
[module/arch-updates]
|
||||
[module/check-arch-updates]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/arch-updates.sh
|
||||
exec = $HOME/.config/polybar/scripts/check-arch-updates.sh
|
||||
interval = 300
|
||||
|
||||
format-prefix = " "
|
||||
|
@ -20,6 +20,6 @@
|
|||
format-underline = #1794D1
|
||||
format = <label>
|
||||
|
||||
click-left = alacritty -e sh -c "yay -Syu && echo DONE || echo ERROR; read" &
|
||||
click-left = alacritty -e sh -c "$HOME/.local/bin/archlinux-admin-update; read" &
|
||||
|
||||
label = %output%
|
||||
|
|
Loading…
Reference in a new issue