mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2026-04-20 14:34:21 +02:00
fucking mess
This commit is contained in:
26
tmux/.tmux/subsegment.sh
Executable file
26
tmux/.tmux/subsegment.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
case $3 in
|
||||
round)
|
||||
separator="\ue0b7";;
|
||||
|
||||
sharp | *)
|
||||
separator="\ue0b3";;
|
||||
esac;;
|
||||
|
||||
end)
|
||||
case $3 in
|
||||
round)
|
||||
separator="\ue0b5";;
|
||||
|
||||
sharp | *)
|
||||
separator="\ue0b1";;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if [ ! -z $2 ]; then echo -ne "#[fg=colour$2]"; fi
|
||||
echo -ne "$separator"
|
||||
if [ ! -z $2 ]; then echo -ne "#[fg=white]"; fi
|
||||
Reference in New Issue
Block a user