diff options
Diffstat (limited to 'scripts/powerline.sh')
-rwxr-xr-x | scripts/powerline.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/powerline.sh b/scripts/powerline.sh deleted file mode 100755 index cf1fb5b..0000000 --- a/scripts/powerline.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -RS='\ue0b4' -LS='\ue0b4' -WAN_SYMBOL='\uf0ee' -LAN_SYMBOL='\uf0ed' - -if [[ "$1" == "left" ]]; then - echo "$(tmux display-message -p '#S') [$(hostname)]" - # echo -ne "#[fg=colour235, bg=colour66] $(tmux display-message -p '#S') #[fg=colour66, bg=colour241]$LS#[default]" - # echo -ne "#[fg=colour223, bg=colour241] $(hostname) #[fg=colour241, bg=default]$LS#[default]" -fi - -# Disable right prompt for now, i3 bar has all this info -# if [[ "$1" == "right" ]]; then -# IP_ADDRESS=$(ip addr show | grep "inet[^6]" | grep -v "\(127.0.0.1\|docker\)" | tr -s ' ' | cut -d ' ' -f3 | cut -d '/' -f1) -# echo -ne "#[fg=colour235, bg=colour241]$RS#[fg=colour223, bg=colour241] $LAN_SYMBOL $IP_ADDRESS" -# WAN_IP=$(curl --max-time 2 -s http://whatismyip.akamai.com/) -# echo -ne " $WAN_SYMBOL $WAN_IP #[default]" -# DATE=$(date +"%b %d, %H:%M") -# echo -ne "#[fg=colour241, bg=colour142]$RS#[fg=colour235] $DATE #[default]" -# fi |