diff --git a/.weather.sh.swp b/.weather.sh.swp new file mode 100644 index 0000000..ee79d09 Binary files /dev/null and b/.weather.sh.swp differ diff --git a/battery.sh b/battery.sh index fe8a234..699026f 100755 --- a/battery.sh +++ b/battery.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +#author: Dane Williams +#scipt for gathering battery percentage and A/C status +#script is called in dracula.tmux program + battery_percent() { echo $(pmset -g batt | grep -Eo '[0-9]?[0-9]?[0-9]%') @@ -23,5 +27,6 @@ main() echo "♥ $bat_stat$bat_perc" } +#run main driver program main diff --git a/dracula.tmux b/dracula.tmux index 4ce3119..c9a03e2 100755 --- a/dracula.tmux +++ b/dracula.tmux @@ -16,11 +16,16 @@ main() cyan='#8be9fd' green='#50fa7b' orange='#ffb86c' + red='#ff5555' pink='#ff79c6' + yellow='#f1fa8c' # set refresh interval tmux set-option -g status-interval 1 + # set clock + tmux set-option -g clock-mode-style 12 + # set length tmux set-option -g status-left-length 100 tmux set-option -g status-right-length 100 @@ -34,9 +39,13 @@ main() # status bar tmux set-option -g status-style "bg=${gray},fg=${white}" - tmux set-option -g status-left "#[bg=${green},fg=${dark_gray}]#{?client_prefix,#[bg=${orange}],} ☺ " - tmux set-option -g status-right "#[fg=${dark_gray},bg=${cyan}] tructus " - tmux set-option -ga status-right "#[fg=${dark_gray},bg=${pink}] #(~/.tmux/plugins/tmux-dracula/battery.sh) #[fg=${white},bg=${dark_purple}] %a %H:%M #(date +%Z) %m/%d/%Y " + + tmux set-option -g status-left "#[bg=${green},fg=${dark_gray}]#{?client_prefix,#[bg=${yellow}],} ☺ " + + tmux set-option -g status-right "#[fg=${dark_gray},bg=${pink}] #(~/.tmux/plugins/tmux-dracula/battery.sh) " + tmux set-option -ga status-right "#[fg=${dark_gray},bg=${cyan}] tructus " + tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] flazen " + tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) " # window tabs tmux set-window-option -g window-status-current-format "#[fg=${white},bg=${dark_purple}] #I #W " diff --git a/internet.sh b/internet.sh new file mode 100755 index 0000000..11ebaf7 --- /dev/null +++ b/internet.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +#author: Dane Williams +#script for gathering internet connectivity info +#script is called in dracula.tmux program + +main() +{ + +} + +#run main driver function +main diff --git a/weather.sh b/weather.sh new file mode 100755 index 0000000..cfd02ea --- /dev/null +++ b/weather.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +#author: Dane Williams +#script for gathering current location and weather at location +#script is then called in the dracula.tmux program + +city=$(curl -s https://ipinfo.io/city 2> /dev/null) + + +main() +{ + echo $IP +} + +#run main driver program +main