Compare commits
2 Commits
e6947d4a30
...
72ce1e2ab5
| Author | SHA1 | Date | |
|---|---|---|---|
| 72ce1e2ab5 | |||
| dde5b35bef |
@@ -25,6 +25,7 @@ function dwm-status {
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
battery=""; storage=""; volume=""; datetime="";
|
battery=""; storage=""; volume=""; datetime="";
|
||||||
|
userhost="`whoami`@`hostname`"
|
||||||
while true; do
|
while true; do
|
||||||
# Reset Variables
|
# Reset Variables
|
||||||
if [[ $datetime == *"00" ]]; then
|
if [[ $datetime == *"00" ]]; then
|
||||||
@@ -54,7 +55,7 @@ function dwm-status {
|
|||||||
readout="$readout $battery"
|
readout="$readout $battery"
|
||||||
readout="$readout | $storage"
|
readout="$readout | $storage"
|
||||||
readout="$readout | $volume"
|
readout="$readout | $volume"
|
||||||
readout="$readout | `whoami`@`hostname`"
|
readout="$readout | $userhost"
|
||||||
readout="$readout $datetime"
|
readout="$readout $datetime"
|
||||||
$cmd "$readout"
|
$cmd "$readout"
|
||||||
readout=""
|
readout=""
|
||||||
|
|||||||
@@ -1018,16 +1018,10 @@
|
|||||||
alias hugo-server-stage="hugo server --gc --noHTTPCache --disableFastRender"
|
alias hugo-server-stage="hugo server --gc --noHTTPCache --disableFastRender"
|
||||||
alias hugo-server-prod="hugo server --gc --minify"
|
alias hugo-server-prod="hugo server --gc --minify"
|
||||||
alias hugo-server="hugo-server-dev"
|
alias hugo-server="hugo-server-dev"
|
||||||
dwm_functions: |
|
global_functions: |
|
||||||
if [[ -f "{{ global_bin }}/volume.function" ]]; then
|
ls "{{ global_bin }}/"*".function" | while read global_function; do
|
||||||
source "{{ global_bin }}/volume.function"
|
source "$global_function"
|
||||||
fi
|
done
|
||||||
if [[ -f "{{ global_bin }}/battery.function" ]]; then
|
|
||||||
source "{{ global_bin }}/battery.function"
|
|
||||||
fi
|
|
||||||
if [[ -f "{{ global_bin }}/storage.function" ]]; then
|
|
||||||
source "{{ global_bin }}/storage.function"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: General | Account Management | Users | Files | Common Variable
|
- name: General | Account Management | Users | Files | Common Variable
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -1107,7 +1101,7 @@
|
|||||||
{{ function_load_branch }}
|
{{ function_load_branch }}
|
||||||
{{ alias_reload_bash }}
|
{{ alias_reload_bash }}
|
||||||
{{ alias_hugo_server }}
|
{{ alias_hugo_server }}
|
||||||
{{ dwm_functions }}
|
{{ global_functions }}
|
||||||
|
|
||||||
- name: General | Account Management | Users | Files | .bashrc
|
- name: General | Account Management | Users | Files | .bashrc
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user