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/segment.sh
Executable file
26
tmux/.tmux/segment.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
case $4 in
|
||||
round)
|
||||
separator="\ue0b6";;
|
||||
|
||||
sharp | *)
|
||||
separator="\ue0b2";;
|
||||
esac
|
||||
echo -e "#[fg=colour$3,bg=colour$2]$separator#[fg=white,bg=colour$3]";;
|
||||
|
||||
end)
|
||||
case $4 in
|
||||
round)
|
||||
separator="\ue0b4";;
|
||||
|
||||
sharp | *)
|
||||
separator="\ue0b0";;
|
||||
esac
|
||||
echo -e "#[fg=colour$2,bg=colour$3]$separator#[fg=white]";;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user