summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-10-04 11:19:09 +0200
committerMarc Vertes <mvertes@free.fr>2020-10-04 11:19:09 +0200
commit3f960980b1a6b71394c94a018d9953bcf9adb60c (patch)
treecc19aef3928f33d938f1446b5c40f957b7d54bea
parent0d0b8b33a49f1775e8a2bd9b9bdbeb6fc63cc53b (diff)
update
-rw-r--r--.bash-powerline.sh6
-rw-r--r--.i3status.conf2
-rw-r--r--.profile2
3 files changed, 6 insertions, 4 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 8121f92..232d7a5 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -12,7 +12,8 @@ __powerline() {
readonly COLOR_SUCCESS='\[\033[0;34m\]' # blue
readonly COLOR_FAILURE='\[\033[0;31m\]' # red
- readonly SYMBOL_GIT_BRANCH='⑂'
+ #readonly SYMBOL_GIT_BRANCH='⑂'
+ readonly SYMBOL_GIT_BRANCH='→'
readonly SYMBOL_GIT_MODIFIED='*'
readonly SYMBOL_GIT_PUSH='↑'
readonly SYMBOL_GIT_PULL='↓'
@@ -66,7 +67,7 @@ __powerline() {
done < <($git_eng status --porcelain --branch 2>/dev/null) # note the space between the two <
# print the git branch segment without a trailing newline
- printf " $ref$marks"
+ printf "$ref$marks"
}
ps1() {
@@ -98,6 +99,7 @@ __powerline() {
fi
}
+ PROMPT_DIRTRIM=2
PROMPT_COMMAND="ps1${PROMPT_COMMAND:+; $PROMPT_COMMAND}"
}
diff --git a/.i3status.conf b/.i3status.conf
index e60903b..b3af3a3 100644
--- a/.i3status.conf
+++ b/.i3status.conf
@@ -5,6 +5,7 @@
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
+# Some icon chars can be found at https://emojipedia.org/objects/
general {
colors = true
@@ -29,7 +30,6 @@ read_file hostname {
path = "/etc/hostname"
}
-# ☠
wireless _first_ {
#format_up = "🌐 %essid %quality"
#format_up = "📶 %essid %quality"
diff --git a/.profile b/.profile
index 3a407f5..cb09e87 100644
--- a/.profile
+++ b/.profile
@@ -6,5 +6,5 @@ PATH=~/bin:$PATH:~/go/bin
# Last action: auto start X11 when logged on first console
case $HOSTNAME in
-(swift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startx ;;
+([sS]wift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startx ;;
esac