aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2019-03-14 19:27:09 +0100
committerBen Beltran <ben@nsovocal.com>2019-03-14 19:27:09 +0100
commit5d173e99d3e906b49ba3bde59388083b120d4e21 (patch)
tree1b12841f217b315cd05fc262eafc69a7aeb25ad1
parentac88944771c9006d4299ab8f8d54a4ff0555d099 (diff)
Remove unused tmux configs
-rwxr-xr-xstatus-left.sh51
-rwxr-xr-xstatus-right.sh80
2 files changed, 0 insertions, 131 deletions
diff --git a/status-left.sh b/status-left.sh
deleted file mode 100755
index 21727cf..0000000
--- a/status-left.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env bash
-#Print the status-left for tmux.
-#
-# The powerline root directory.
-cwd=$(dirname $0)
-
-# Source global configurations.
-source "${cwd}/config.sh"
-
-# Source lib functions.
-source "${cwd}/lib.sh"
-
-segments_path="${cwd}/${segments_dir}"
-
-# Mute this statusbar?
-mute_status_check "left"
-
-# Segments
-declare -A tmux_session_info
-tmux_session_info+=(["script"]="${segments_path}/tmux_session_info.sh")
-tmux_session_info+=(["foreground"]="colour7")
-tmux_session_info+=(["background"]="colour12")
-tmux_session_info+=(["separator"]="${separator_right_bold}")
-#tmux_session_info+=(["separator_fg"]="default")
-register_segment "tmux_session_info"
-
-declare -A hostname
-hostname+=(["script"]="${segments_path}/hostname.sh")
-hostname+=(["foreground"]="colour7")
-hostname+=(["background"]="colour1")
-hostname+=(["separator"]="${separator_right_bold}")
-register_segment "hostname"
-
-declare -A lan_ip
-lan_ip+=(["script"]="${segments_path}/lan_ip.sh")
-lan_ip+=(["foreground"]="colour7")
-lan_ip+=(["background"]="colour24")
-lan_ip+=(["separator"]="${separator_right_bold}")
-#register_segment "lan_ip"
-
-declare -A vcs_branch
-vcs_branch+=(["script"]="${segments_path}/vcs_branch.sh")
-vcs_branch+=(["foreground"]="colour12")
-vcs_branch+=(["background"]="colour7")
-vcs_branch+=(["separator"]="${separator_right_bold}")
-register_segment "vcs_branch"
-
-# Print the status line in the order of registration above.
-print_status_line_left
-
-exit 0
diff --git a/status-right.sh b/status-right.sh
deleted file mode 100755
index da59f8c..0000000
--- a/status-right.sh
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/usr/bin/env bash
-# This script prints a string will be evaluated for text attributes (but not shell commands) by tmux. It consists of a bunch of segments that are simple shell scripts/programs that output the information to show. For each segment the desired foreground and background color can be specified as well as what separator to use. The script the glues together these segments dynamically so that if one script suddenly does not output anything (= nothing should be shown) the separator colors will be nicely handled.
-
-# The powerline root directory.
-cwd=$(dirname $0)
-
-# Source global configurations.
-source "${cwd}/config.sh"
-
-# Source lib functions.
-source "${cwd}/lib.sh"
-
-segments_path="${cwd}/${segments_dir}"
-
-# Mute this statusbar?
-mute_status_check "right"
-
-# Segment
-# Comment/uncomment the register function call to enable or disable a segment.
-
-declare -A pwd
-pwd+=(["script"]="${segments_path}/pwd.sh")
-pwd+=(["foreground"]="colour211")
-pwd+=(["background"]="colour89")
-pwd+=(["separator"]="${separator_left_bold}")
-#register_segment "pwd"
-
-declare -A load
-load+=(["script"]="${segments_path}/load.sh")
-load+=(["foreground"]="colour7")
-load+=(["background"]="colour0")
-load+=(["separator"]="${separator_left_bold}")
-register_segment "load"
-
-declare -A battery
-if [ "$PLATFORM" == "mac" ]; then
- battery+=(["script"]="${segments_path}/battery_mac.sh")
-else
- battery+=(["script"]="${segments_path}/battery.sh")
-fi
-battery+=(["foreground"]="colour7")
-battery+=(["background"]="colour1")
-battery+=(["separator"]="${separator_left_bold}")
-#register_segment "battery"
-
-declare -A weather
-weather+=(["script"]="${segments_path}/weather_yahoo.sh")
-#weather+=(["script"]="${segments_path}/weather_google.sh")
-weather+=(["foreground"]="colour7")
-weather+=(["background"]="colour12")
-weather+=(["separator"]="${separator_left_bold}")
-register_segment "weather"
-
-declare -A date_day
-date_day+=(["script"]="${segments_path}/date_day.sh")
-date_day+=(["foreground"]="colour0")
-date_day+=(["background"]="colour7")
-date_day+=(["separator"]="${separator_left_bold}")
-register_segment "date_day"
-
-declare -A date_full
-date_full+=(["script"]="${segments_path}/date_full.sh")
-date_full+=(["foreground"]="colour0")
-date_full+=(["background"]="colour15")
-date_full+=(["separator"]="${separator_left_thin}")
-date_full+=(["separator_fg"]="colour0")
-register_segment "date_full"
-
-declare -A time
-time+=(["script"]="${segments_path}/time.sh")
-time+=(["foreground"]="colour0")
-time+=(["background"]="colour7")
-time+=(["separator"]="${separator_left_thin}")
-time+=(["separator_fg"]="colour0")
-register_segment "time"
-
-# Print the status line in the order of registration above.
-print_status_line_right
-
-exit 0