├── assets ├── e.png ├── w.png ├── theLineCover.jpg ├── Pasted image 20240108084134.png ├── Pasted image 20240108084545.png ├── Pasted image 20240108092908.png ├── 2line │ ├── Screenshot from 2024-01-09 16-07-58.png │ ├── Screenshot from 2024-01-09 16-08-10.png │ ├── Screenshot from 2024-01-09 16-08-28.png │ ├── Screenshot from 2024-01-09 16-08-50.png │ └── Screenshot from 2024-01-09 16-09-07.png ├── chian │ ├── Screenshot from 2024-01-09 15-59-28.png │ ├── Screenshot from 2024-01-09 16-00-15.png │ ├── Screenshot from 2024-01-09 16-00-30.png │ ├── Screenshot from 2024-01-09 16-00-56.png │ └── Screenshot from 2024-01-09 16-01-11.png ├── heavy │ ├── Screenshot from 2024-01-09 16-05-54.png │ ├── Screenshot from 2024-01-09 16-06-14.png │ ├── Screenshot from 2024-01-09 16-06-26.png │ ├── Screenshot from 2024-01-09 16-06-48.png │ └── Screenshot from 2024-01-09 16-07-01.png ├── dashed │ ├── Screenshot from 2024-01-09 16-03-45.png │ ├── Screenshot from 2024-01-09 16-04-16.png │ ├── Screenshot from 2024-01-09 16-04-38.png │ ├── Screenshot from 2024-01-09 16-04-48.png │ └── Screenshot from 2024-01-09 16-05-07.png ├── minimal │ ├── Screenshot from 2024-01-09 15-50-27.png │ ├── Screenshot from 2024-01-09 15-52-26.png │ └── Screenshot from 2024-01-09 15-53-37.png └── theLine │ ├── Screenshot from 2024-01-09 13-20-38.png │ ├── Screenshot from 2024-01-09 13-21-24.png │ ├── Screenshot from 2024-01-09 15-56-21.png │ ├── Screenshot from 2024-01-09 15-56-43.png │ ├── Screenshot from 2024-01-09 15-57-26.png │ ├── Screenshot from 2024-01-09 15-57-41.png │ └── Screenshot from 2024-01-09 15-58-44.png ├── LICENSE ├── install Black Box.md ├── theLine_CHAIN.md ├── theLine_MINIMAL.md ├── theLine_2LINE.md ├── theLine_HEAVY.md ├── install ZSH.md ├── README.md └── theLine_DASHED.md /assets/e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/e.png -------------------------------------------------------------------------------- /assets/w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/w.png -------------------------------------------------------------------------------- /assets/theLineCover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLineCover.jpg -------------------------------------------------------------------------------- /assets/Pasted image 20240108084134.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/Pasted image 20240108084134.png -------------------------------------------------------------------------------- /assets/Pasted image 20240108084545.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/Pasted image 20240108084545.png -------------------------------------------------------------------------------- /assets/Pasted image 20240108092908.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/Pasted image 20240108092908.png -------------------------------------------------------------------------------- /assets/2line/Screenshot from 2024-01-09 16-07-58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/2line/Screenshot from 2024-01-09 16-07-58.png -------------------------------------------------------------------------------- /assets/2line/Screenshot from 2024-01-09 16-08-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/2line/Screenshot from 2024-01-09 16-08-10.png -------------------------------------------------------------------------------- /assets/2line/Screenshot from 2024-01-09 16-08-28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/2line/Screenshot from 2024-01-09 16-08-28.png -------------------------------------------------------------------------------- /assets/2line/Screenshot from 2024-01-09 16-08-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/2line/Screenshot from 2024-01-09 16-08-50.png -------------------------------------------------------------------------------- /assets/2line/Screenshot from 2024-01-09 16-09-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/2line/Screenshot from 2024-01-09 16-09-07.png -------------------------------------------------------------------------------- /assets/chian/Screenshot from 2024-01-09 15-59-28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/chian/Screenshot from 2024-01-09 15-59-28.png -------------------------------------------------------------------------------- /assets/chian/Screenshot from 2024-01-09 16-00-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/chian/Screenshot from 2024-01-09 16-00-15.png -------------------------------------------------------------------------------- /assets/chian/Screenshot from 2024-01-09 16-00-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/chian/Screenshot from 2024-01-09 16-00-30.png -------------------------------------------------------------------------------- /assets/chian/Screenshot from 2024-01-09 16-00-56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/chian/Screenshot from 2024-01-09 16-00-56.png -------------------------------------------------------------------------------- /assets/chian/Screenshot from 2024-01-09 16-01-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/chian/Screenshot from 2024-01-09 16-01-11.png -------------------------------------------------------------------------------- /assets/heavy/Screenshot from 2024-01-09 16-05-54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/heavy/Screenshot from 2024-01-09 16-05-54.png -------------------------------------------------------------------------------- /assets/heavy/Screenshot from 2024-01-09 16-06-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/heavy/Screenshot from 2024-01-09 16-06-14.png -------------------------------------------------------------------------------- /assets/heavy/Screenshot from 2024-01-09 16-06-26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/heavy/Screenshot from 2024-01-09 16-06-26.png -------------------------------------------------------------------------------- /assets/heavy/Screenshot from 2024-01-09 16-06-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/heavy/Screenshot from 2024-01-09 16-06-48.png -------------------------------------------------------------------------------- /assets/heavy/Screenshot from 2024-01-09 16-07-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/heavy/Screenshot from 2024-01-09 16-07-01.png -------------------------------------------------------------------------------- /assets/dashed/Screenshot from 2024-01-09 16-03-45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/dashed/Screenshot from 2024-01-09 16-03-45.png -------------------------------------------------------------------------------- /assets/dashed/Screenshot from 2024-01-09 16-04-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/dashed/Screenshot from 2024-01-09 16-04-16.png -------------------------------------------------------------------------------- /assets/dashed/Screenshot from 2024-01-09 16-04-38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/dashed/Screenshot from 2024-01-09 16-04-38.png -------------------------------------------------------------------------------- /assets/dashed/Screenshot from 2024-01-09 16-04-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/dashed/Screenshot from 2024-01-09 16-04-48.png -------------------------------------------------------------------------------- /assets/dashed/Screenshot from 2024-01-09 16-05-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/dashed/Screenshot from 2024-01-09 16-05-07.png -------------------------------------------------------------------------------- /assets/minimal/Screenshot from 2024-01-09 15-50-27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/minimal/Screenshot from 2024-01-09 15-50-27.png -------------------------------------------------------------------------------- /assets/minimal/Screenshot from 2024-01-09 15-52-26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/minimal/Screenshot from 2024-01-09 15-52-26.png -------------------------------------------------------------------------------- /assets/minimal/Screenshot from 2024-01-09 15-53-37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/minimal/Screenshot from 2024-01-09 15-53-37.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 13-20-38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 13-20-38.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 13-21-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 13-21-24.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 15-56-21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 15-56-21.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 15-56-43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 15-56-43.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 15-57-26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 15-57-26.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 15-57-41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 15-57-41.png -------------------------------------------------------------------------------- /assets/theLine/Screenshot from 2024-01-09 15-58-44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lorens-osman-dev/starship_theLine/HEAD/assets/theLine/Screenshot from 2024-01-09 15-58-44.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 lorens-osman-dev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /install Black Box.md: -------------------------------------------------------------------------------- 1 | ![clusterSvg](assets/Pasted%20image%2020240108092908.png) 2 | 3 | # Black Box Terminal 4 | 5 | ##### An elegant and customizable terminal for GNOME 6 | ### install Black Box Terminal 7 | 8 | - **Flathub** [download from Flathub](https://flathub.org/apps/details/com.raggesilver.BlackBox) 9 | - Or open the terminal and run the following command: 10 | ```sh 11 | flatpak install flathub com.raggesilver.BlackBox 12 | ``` 13 | 14 | ### Configure Black Box 15 | - Run Black Box 16 | - Preferences > General tab > Remember Window Size ✓ 17 | - Preferences > Terminal tab > Font > FiraCode Nerd Font Regular , size 9 18 | - Preferences > Terminal tab > Bright Bold Text ✓ 19 | - Preferences > Terminal tab > Easy Copy & Paste ✓ 20 | - Preferences > Terminal tab > Cursor > Cursor Shape = IBeam 21 | - Preferences > Terminal tab > Cursor > Cursor Blinking = On 22 | - Preferences > Terminal tab > Padding = 5 23 | - Preferences > Terminal tab > Opacity = 80 24 | - Preferences > Terminal tab > Working Directory = Home Directory 25 | 26 | If you like the terminal without header bar : 27 | - Preferences > General tab > Show Header Bar ✖ 28 | 29 | ### With Header Bar 30 | 31 | ![clusterSvg](assets/theLine/Screenshot%20from%202024-01-09%2015-58-44.png) 32 | 33 | ### Without Header Bar 34 | 35 | ![clusterSvg](assets/theLine/Screenshot%20from%202024-01-09%2015-56-21.png) 36 | -------------------------------------------------------------------------------- /theLine_CHAIN.md: -------------------------------------------------------------------------------- 1 | # theLine_CHAIN 2 | 3 | ### 🧩 Prerequisites 4 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 5 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 6 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 7 | 8 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 9 | 10 | 2. **Black Box Terminal**: [[line/install Black Box|install and configure Black Box]] 11 | 3. **Z Shell (ZSH)** : [[line/install ZSH|install zsh]] 12 | 4. [Starship](https://starship.rs/) prompt 13 | 5. Configure starship_theLine_CHIN theme 14 | ### ⚙️ Configure starship_theLine_CHAIN theme 15 | 1. Open any text editor 16 | 2. Copy the next : 17 | ```toml 18 | #--------[ LORENS OSMAN ]--------# 19 | 20 | 21 | #--------[ starship_theLine_CHAIN ] 22 | 23 | format = """ 24 | $username\ 25 | [━━━](fg:#4b494f)\ 26 | $hostname\ 27 | [━━━](fg:#4b494f )\ 28 | ${custom.directory}\ 29 | [━━━](fg:#4b494f)\ 30 | $fill\ 31 | $git_branch\ 32 | $line_break\ 33 | $character 34 | """ 35 | 36 | 37 | #--------[CUSTOM COMMANDS] 38 | 39 | [custom.directory] 40 | description = "Replace the default directory command" 41 | command = """echo "${PWD/$HOME/~}" """ 42 | style = "white bold bg:#498547" 43 | format = "[ 󰉋 $output ]($style)" 44 | when = "true" 45 | 46 | 47 | #--------[COMMANDS] 48 | 49 | [username] 50 | style_user = 'white bold bg:#474a85' 51 | style_root = 'black' 52 | format = '[$user]($style)' 53 | disabled = false 54 | show_always = true 55 | 56 | [hostname] 57 | ssh_only = false 58 | format = '[$ssh_symbol](bold blue)[$hostname]( white bold bg:#854747 )' 59 | trim_at = '.companyname.com' 60 | disabled = false 61 | 62 | 63 | [fill] 64 | symbol="━" 65 | style = "fg:#4b494f " 66 | 67 | [line_break] 68 | disabled = false 69 | 70 | [character] 71 | success_symbol ='[━━](bold fg:#474a85)' 72 | error_symbol ='[✖ ](bold red)' 73 | 74 | #--------[GIT COMMANDS] 75 | 76 | [git_branch] 77 | symbol = "  " 78 | style = "white bold bg:#857847 " 79 | format = "[$symbol$branch(:$remote_branch) ]($style)" 80 | 81 | ``` 82 | 3. Save the file in `toml` format, with the name `starship_theLine_CHAIN.toml` 83 | 4. Open the `.zshrc` file using any text editor 84 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine_CHAIN.toml`Be sure to replace `path` with the actual location where you saved the `starship_theLine_CHAIN.toml` file 85 | 6. Reload your terminal 86 | 7. Enjoy! 87 | ### 🖼️ Screenshots 88 | 89 | ![clusterSvg](assets/chian/Screenshot%20from%202024-01-09%2016-00-15.png) 90 | 91 | ![clusterSvg](assets/chian/Screenshot%20from%202024-01-09%2016-00-30.png) 92 | 93 | ![clusterSvg](assets/chian/Screenshot%20from%202024-01-09%2015-59-28.png) 94 | 95 | ![clusterSvg](assets/chian/Screenshot%20from%202024-01-09%2016-00-56.png) 96 | 97 | ![clusterSvg](assets/chian/Screenshot%20from%202024-01-09%2016-01-11.png) 98 | -------------------------------------------------------------------------------- /theLine_MINIMAL.md: -------------------------------------------------------------------------------- 1 | # theLine_MINIMAL 2 | 3 | ### 🧩 Prerequisites 4 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 5 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 6 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 7 | 8 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 9 | 10 | 2. **Black Box Terminal**: [[line/install Black Box|install and configure Black Box]] 11 | 3. **Z Shell (ZSH)** : [[line/install ZSH|install zsh]] 12 | 4. [Starship](https://starship.rs/) prompt 13 | 5. Configure starship_theLine_MINMAL theme 14 | ### ⚙️ Configure starship_theLine_MINIMAL theme 15 | 1. Open any text editor 16 | 2. Copy the next : 17 | ```toml 18 | #--------[ LORENS OSMAN ]--------# 19 | 20 | 21 | #--------[ starship_theLine_MINIMAL ] 22 | 23 | format = """ 24 | ${custom.directory}\ 25 | $git_branch\ 26 | $git_status\ 27 | [ |](fg:#ED333B bg:#2E2F38)\ 28 | [ ]()\ 29 | 30 | """ 31 | 32 | #--------[COMMANDS] 33 | 34 | [custom.directory] 35 | description = "Replace the default directory command" 36 | command = """echo "${PWD/$HOME/~}" """ 37 | style = "fg:#33dd2d bg:#2E2F38" 38 | format = "[ 󰉋 $output ]($style)" 39 | when = "true" 40 | 41 | #--------[GIT COMMANDS] 42 | 43 | [git_branch] 44 | symbol = " " 45 | style = "fg:#e5e512 bg:#242424" 46 | format = "[ $symbol$branch(:$remote_branch) ]($style)" 47 | 48 | [git_status] 49 | # disabled = true 50 | style = "fg:#e5e512 bg:#242424" 51 | staged = "STG:${count} " # nf-fa-check 52 | modified = "MOD:${count} " # nf-fa-edit 53 | # modified = "  ${count}" # nf-fa-pencil 54 | renamed = "󰗧:${count} " # nf-md-cursor_text 55 | untracked = "UN:${count} " # nf-fa-question 56 | deleted = "DEL:${count} " # nf-fa-remove 57 | conflicted = "✖:${count} " # nf-fa-flag 58 | stashed = ":${count} " # nf-fa-bank 59 | # stashed = "  ${count}" # nf-fa-inbox 60 | 61 | ahead = "󰞙 ${count} " # nf-md-arrow_expand_up 62 | behind = "󰞖 ${count} " # nf-md-arrow_expand_down 63 | diverged = "󰡏 ${ahead_count} ${behind_count} " # nf-md-arrow_expand_vertical 64 | # diverged = "󰯎 ${ahead_count} ${behind_count}" # nf-md-swap_vertical_bold 65 | # ignore_submodules = true 66 | format = "[ ([$staged](fg:47 bg:#242424)[$modified](fg:5 bg:#242424)$renamed[$untracked](blue bg:#242424)[$deleted](fg:9 bg:#242424)$conflicted$stashed$ahead_behind )]($style)" 67 | 68 | [git_state] 69 | # disabled = true 70 | style = "bg:color_git_state fg:color_foreground_dark" 71 | rebase = "rebasing" 72 | merge = "merging" 73 | revert = "reverting" 74 | cherry_pick = " picking" # nf-fae-cherry 75 | bisect = "bisecting" 76 | am = "am'ing" 77 | am_or_rebase = "am/rebase" 78 | format = '[ $state($progress_current/$progress_total) ]($style)' 79 | ``` 80 | 3. Save the file in `toml` format, with the name `starship_theLine_MINIMAL.toml` 81 | 4. Open the `.zshrc` file using any text editor 82 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine_MINIMAL.toml`Be sure to replace `path` with the actual location where you saved the `starship_theLine_MINIMAL.toml` file 83 | 6. Reload your terminal 84 | 7. Enjoy! 85 | ### 🖼️ Screenshots 86 | 87 | 88 | ![sss](assets/minimal/Screenshot%20from%202024-01-09%2015-52-26.png) 89 | 90 | ![Screenshot from 2024-01-09 15-53-37.png](assets/minimal/Screenshot%20from%202024-01-09%2015-53-37.png) 91 | 92 | ![creenshot from 2024-01-09 15-50-27.png](assets/minimal/Screenshot%20from%202024-01-09%2015-50-27.png) 93 | -------------------------------------------------------------------------------- /theLine_2LINE.md: -------------------------------------------------------------------------------- 1 | # theLine_2LINE 2 | 3 | ### 🧩 Prerequisites 4 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 5 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 6 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 7 | 8 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 9 | 10 | 2. **Black Box Terminal**: [[line/install Black Box|install and configure Black Box]] 11 | 3. **Z Shell (ZSH)** : [[line/install ZSH|install zsh]] 12 | 4. [Starship](https://starship.rs/) prompt 13 | 5. Configure starship_theLine_2LINE theme 14 | ### ⚙️ Configure starship_theLine_2LINE theme 15 | 1. Open any text editor 16 | 2. Copy the next : 17 | ```toml 18 | #--------[ LORENS OSMAN ]--------# 19 | 20 | #--------[ theLine_2LINE ] 21 | # use ubuntuMono Nerd Font Mono 9 22 | format = """ 23 | ${custom.user}\ 24 | [ ](fg:#4b494f underline )\ 25 | ${custom.host}\ 26 | [ ](fg:#4b494f underline )\ 27 | ${custom.dir}\ 28 | $fill\ 29 | ${custom.git}\ 30 | [ ](fg:#4b494f underline )\ 31 | $line_break\ 32 | $username\ 33 | [ ](fg:#4b494f underline )\ 34 | $hostname\ 35 | [ ](fg:#4b494f underline )\ 36 | ${custom.directory}\ 37 | $fill\ 38 | $git_branch\ 39 | [ ](fg:#4b494f underline )\ 40 | $line_break\ 41 | $character 42 | """ 43 | 44 | 45 | #--------[CUSTOM COMMANDS]--------# 46 | 47 | [custom.directory] 48 | description = "Replace the default directory command" 49 | command = """echo "${PWD/$HOME/~}" """ 50 | style = "fg:#33dd2d underline" 51 | format = "[󰉋 $output]($style)" 52 | when = "true" 53 | 54 | [custom.dir] 55 | description = "Dashes of directory " 56 | command = """printf '%*s' "$(echo $(( $(pwd | sed "s|$HOME|~|" | wc -c) + 1 )))" '' | tr ' ' '_'""" 57 | style = "fg:#33dd2d underline" 58 | format = "[$output]($style)" 59 | when = "true" 60 | 61 | 62 | [custom.git] 63 | description = "Replace the branch name with dashes" 64 | command = "git rev-parse --abbrev-ref HEAD 2>/dev/null | wc -m | tr -d '\\n' | xargs -I {} seq -s '_' {} | tr -d '[:digit:]'| awk '{print $0 \"___\"}'" 65 | when = "git rev-parse --abbrev-ref HEAD 2>/dev/null" 66 | shell = ["bash", "--noprofile", "--norc"] 67 | style = "fg:#e5e513 underline" 68 | format = "[$output]($style)" 69 | 70 | [custom.user] 71 | description = "Dashes of username" 72 | command = """printf '%*s' "$(echo $(echo $USER | tr -d '\n' | wc -c))" '' | tr ' ' '_' """ 73 | style = "#313fed underline" 74 | format = "[$output]($style)" 75 | when = "true" 76 | 77 | [custom.host] 78 | description = "Dashes of hostname" 79 | command = 'printf "%*s" "$(echo $(echo $HOST | tr -d "\n" | wc -c))" "" | tr " " "_" ' 80 | style = "red underline" 81 | format = "[$output]($style)" 82 | when = "true" 83 | 84 | #--------[COMMANDS] 85 | 86 | [hostname] 87 | ssh_only = false 88 | format = '[$ssh_symbol](bold blue)[$hostname]( red underline)' 89 | trim_at = '.companyname.com' 90 | disabled = false 91 | 92 | [username] 93 | style_user = '#313fed underline' 94 | style_root = 'black' 95 | format = '[$user]($style)' 96 | disabled = false 97 | show_always = true 98 | 99 | [fill] 100 | symbol="⸏" 101 | style = "fg:#4b494f underline" 102 | 103 | [line_break] 104 | disabled = false 105 | 106 | [character] 107 | success_symbol ='[](bold green)' 108 | error_symbol ='[✖ ](bold red)' 109 | 110 | #--------[GIT COMMANDS] 111 | 112 | [git_branch] 113 | symbol = "  " 114 | style = "fg:#e5e513 underline" 115 | format = "[$symbol$branch(:$remote_branch)]($style)" 116 | 117 | ``` 118 | 3. Save the file in `toml` format, with the name `starship_theLine_2LINE.toml` 119 | 4. Open the `.zshrc` file using any text editor 120 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine_2LINE.toml`Be sure to replace `path` with the actual location where you saved the `starship_theLine_2LINE.toml` file 121 | 6. Reload your terminal 122 | 7. Enjoy! 123 | ### 🖼️ Screenshots 124 | 125 | ![clusterSvg](assets/2line/Screenshot%20from%202024-01-09%2016-08-28.png) 126 | 127 | ![clusterSvg](assets/2line/Screenshot%20from%202024-01-09%2016-08-50.png) 128 | 129 | ![clusterSvg](assets/2line/Screenshot%20from%202024-01-09%2016-09-07.png) 130 | 131 | ![clusterSvg](assets/2line/Screenshot%20from%202024-01-09%2016-08-10.png) 132 | 133 | ![clusterSvg](assets/2line/Screenshot%20from%202024-01-09%2016-07-58.png) 134 | -------------------------------------------------------------------------------- /theLine_HEAVY.md: -------------------------------------------------------------------------------- 1 | # theLine_HEAVY 2 | 3 | ### 🧩 Prerequisites 4 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 5 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 6 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 7 | 8 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 9 | 10 | 2. **Black Box Terminal**: [[line/install Black Box|install and configure Black Box]] 11 | 3. **Z Shell (ZSH)** : [[line/install ZSH|install zsh]] 12 | 4. [Starship](https://starship.rs/) prompt 13 | 5. Configure starship_theLine_HEAVY theme 14 | ### ⚙️ Configure starship_theLine_HEAVY theme 15 | 1. Open any text editor 16 | 2. Copy the next : 17 | ```toml 18 | #--------[ LORENS OSMAN ]--------# 19 | 20 | 21 | #--------[ starship_theLine_heavy ] 22 | 23 | format = """ 24 | ${custom.user}\ 25 | [___](fg:#4b494f underline )\ 26 | ${custom.host}\ 27 | [___](fg:#4b494f underline)\ 28 | ${custom.dir}\ 29 | [___](fg:#4b494f underline)\ 30 | ${custom.git}\ 31 | $fill\ 32 | [___](fg:#4b494f underline)\ 33 | $line_break\ 34 | $username\ 35 | [ ](fg:#4b494f bg:#4b494f )\ 36 | $hostname\ 37 | [ ](fg:#4b494f bg:#4b494f)\ 38 | ${custom.directory}\ 39 | [ ](fg:#4b494f bg:#4b494f)\ 40 | $git_branch\ 41 | ${custom.bgfill}\ 42 | $line_break\ 43 | $character 44 | """ 45 | 46 | #--------[CUSTOM COMMANDS] 47 | 48 | [custom.directory] 49 | description = "Replace the default directory command" 50 | command = """echo "${PWD/$HOME/~}" """ 51 | style = "white bold bg:#498547" 52 | format = "[ 󰉋 $output ]($style)" 53 | when = "true" 54 | 55 | [custom.dir] 56 | description = "Dashes above custom.directory " 57 | command = """printf '%*s' "$(echo $(( $(pwd | sed "s|$HOME|~|" | wc -c) + 3 )))" '' | tr ' ' '_'""" 58 | style = "fg:#33dd2d underline " 59 | format = "[$output]($style)" 60 | when = "true" 61 | 62 | [custom.git] 63 | description = "Dashes above branch name " 64 | command = "git rev-parse --abbrev-ref HEAD 2>/dev/null | wc -m | tr -d '\\n' | xargs -I {} seq -s '_' {} | tr -d '[:digit:]'| awk '{print $0 \"____\"}'" 65 | when = "git rev-parse --abbrev-ref HEAD 2>/dev/null" 66 | shell = ["bash", "--noprofile", "--norc"] 67 | style = "fg:#e5e513 underline" 68 | format = "[$output]($style)" 69 | 70 | [custom.user] 71 | description = "Dashes above username" 72 | command = """printf '%*s' "$(echo $(echo $USER | tr -d '\n' | wc -c))" '' | tr ' ' '_' """ 73 | style = "#313fed underline" 74 | format = "[$output]($style)" 75 | when = "true" 76 | 77 | [custom.host] 78 | description = "Dashes above hostname" 79 | command = 'printf "%*s" "$(echo $(echo $HOST | tr -d "\n" | wc -c))" "" | tr " " "_" ' 80 | style = "red underline" 81 | format = "[$output]($style)" 82 | when = "true" 83 | 84 | [custom.bgfill] 85 | command = 'echo ' 86 | style="fg:#4b494f bg:#4b494f" 87 | when="true" 88 | shell="sh" 89 | format = "[$output\u001B\\[K]($style)" 90 | 91 | 92 | #--------[COMMANDS] 93 | 94 | [username] 95 | style_user = 'white bold bg:#474a85' 96 | style_root = 'black' 97 | format = '[$user]($style)' 98 | disabled = false 99 | show_always = true 100 | 101 | [hostname] 102 | ssh_only = false 103 | format = '[$ssh_symbol](bold blue)[$hostname]( white bold bg:#854747 )' 104 | trim_at = '.companyname.com' 105 | disabled = false 106 | 107 | [fill] 108 | symbol="_" 109 | style = "fg:#4b494f underline " 110 | 111 | [line_break] 112 | disabled = false 113 | 114 | [character] 115 | success_symbol ='[_](bold green)' 116 | error_symbol ='[✖ ](bold red)' 117 | 118 | #--------[GIT COMMANDS] 119 | 120 | [git_branch] 121 | symbol = "  " 122 | style = "white bold bg:#857847 " 123 | format = "[$symbol$branch(:$remote_branch) ]($style)" 124 | 125 | ``` 126 | 3. Save the file in `toml` format, with the name `starship_theLine_HEAVY.toml` 127 | 4. Open the `.zshrc` file using any text editor 128 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine_HEAVY.toml`Be sure to replace `path` with the actual location where you saved the `starship_theLine_HEAVY.toml` file 129 | 6. Reload your terminal 130 | 7. Enjoy! 131 | ### 🖼️ Screenshots 132 | 133 | 134 | ![creenshot from 2024-01-09 16-06-14.png](assets/heavy/Screenshot%20from%202024-01-09%2016-06-14.png) 135 | 136 | ![Screenshot from 2024-01-09 16-06-26.png](assets/heavy/Screenshot%20from%202024-01-09%2016-06-26.png) 137 | 138 | ![Screenshot from 2024-01-09 16-05-54.png](assets/heavy/Screenshot%20from%202024-01-09%2016-05-54.png) 139 | 140 | ![Screenshot from 2024-01-09 16-06-48.png](assets/heavy/Screenshot%20from%202024-01-09%2016-06-48.png) 141 | 142 | ![Screenshot from 2024-01-09 16-07-01.png](assets/heavy/Screenshot%20from%202024-01-09%2016-07-01.png) 143 | -------------------------------------------------------------------------------- /install ZSH.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | 3 | The Z Shell (Zsh) is an interactive Unix  shell that can be used as a command interpreter for shell scripting. It is an extended Bourne shell with numerous improvements, including some Bash, ksh, and tcsh features. 4 | 5 | Some of the benefits Zsh offers are command-line completion, shared history, improved globbing, intelligent tab completion, spelling correction, and a rich set of plugins and themes. 6 | 7 | **In this tutorial, you will learn to install and configure the Z Shell on Ubuntu.** 8 | ## install Zsh on Ubuntu 9 | ### Step 1: Update the System Repository 10 | 11 | Update the system package repository to get the latest program version available. Open the terminal and run the following command: 12 | 13 | ```sh 14 | sudo apt update 15 | ``` 16 | 17 | Enter the administrator password when prompted and press **Enter**. Wait for the process to complete. 18 | 19 | Updating the package repository ensures that your system has the most up-to-date information about software packages and their dependencies during software installation. 20 | ### Step 2: Install Zsh 21 | 22 | Run the following command to install Z Shell on Ubuntu: 23 | 24 | ```sh 25 | sudo apt install zsh -y 26 | ``` 27 | 28 | The **`-y`** flag automatically answers **`yes`** to any prompts during the installation and provides consent for installing Zsh and its dependencies. Omit the flag if you want to review the installation. 29 | ### Step 3: Check Installation 30 | 31 | After the installation finishes, check if it has been installed correctly by checking the program version. Run the following command: 32 | 33 | ```sh 34 | zsh --version 35 | ``` 36 | 37 | ![Pasted image 20240108084134.png](assets/Pasted%20image%2020240108084134.png) 38 | 39 | The output shows the current version installed on the system. 40 | ## Configure Zsh on Ubuntu 41 | 42 | Configuring Zsh in Ubuntu allows you to personalize the shell environment, boost productivity with intelligent tab completion, and leverage the flexibility of Zsh scripting capabilities. 43 | 44 | This section explores the steps to configure Zsh as your default shell in Ubuntu and introduces you to various customization options. 45 | ### Initial Configuration 46 | 47 | Unlike Bash and other shells, Zsh requires initial configuration when you start it for the first time. To start Zsh, type the shell name in the terminal and press **Enter**: 48 | 49 | ```sh 50 | zsh 51 | ``` 52 | 53 | The following screenshot shows the configuration options that Zsh offers on the first startup: 54 | 55 | ![clusterSvg](assets/Pasted%20image%2020240108084545.png) 56 | 57 | - Press **1** to go to the main menu and configure each setting individually. 58 | - Press **2** to populate the _.zshrc_ configuration file with the default parameters, which you can later change manually in the _.zshrc_ file. 59 | - Press **0** to create an empty _.zshrc_ configuration file and configure everything from scratch. 60 | - Press **q** to exit the configuration and start it again the next time you enter Zsh. 61 | 62 | After you complete the setup, the changes are saved, and the Z Shell prompt appears. **The initial setup appears only the first time you run the shell**, but you can rerun the initial setup with the **`zsh-newuser-install`** command. 63 | 64 | ### Set Zsh as Default Shell 65 | 66 | After installation, Zsh is not configured and is not set as the default shell. To set Zsh as your default shell, follow the steps below: 67 | 68 | 1. Check which shell is the default one in your system: 69 | The output states the value of the **`$SHELL`** variable, which is the default shell. 70 | 71 | ```sh 72 | echo $SHELL 73 | ``` 74 | 75 | ![clusterSvg](assets/w.png) 76 | 77 | 78 | 2. Use the chsh (change shell) command to change the default login shell. The following syntax lets you change the default shell with **`chsh`**: 79 | 80 | ```sh 81 | chsh -s [path] [user] 82 | ``` 83 | 84 | - **`[path]`** specifies the path to the shell you want to use. 85 | - **`[user]`** specifies the user for which you want to change the default shell. Not specifying the user changes the default shell for the current user. 86 | 87 | If you are unsure of the shell path, utilize the which command to specify the Zsh path automatically. For example: 88 | 89 | ```sh 90 | chsh -s $(which zsh) 91 | ``` 92 | 93 | Enter the root password when prompted and press **Enter**. 94 | 95 | ![clusterSvg](assets/e.png) 96 | 97 | The command changes the default shell to Zsh for the current user. To start using the Z Shell, log out of the terminal and log back in. 98 | 99 | ### Uninstall Zsh 100 | 101 | If you decide to remove Zsh from your system and revert to the old shell, follow the steps below to uninstall it: 102 | 103 | 1. Purge the **`zsh`** package from the system by running the following command: 104 | 105 | ```sh 106 | sudo apt --purge remove zsh 107 | ``` 108 | 109 | When prompted, type **`y`** and press **Enter** to confirm you want to remove Zsh. 110 | Purging a package removes the package and deletes any associated configuration files and dependencies automatically installed with the package. 111 | 112 | 2. Change the default shell back to Bash (or any other you want): 113 | 114 | ```sh 115 | chsh -s $(which bash) 116 | ``` 117 | 118 | 3. Close the terminal and open a new session for the changes to take effect. 119 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![theLineCover](assets/theLineCover.jpg) 2 | 3 | # Starship_theLine is a neat theme colection designed for [Starship](https://starship.rs/) prompt. 4 | 5 | 6 | ### 🧩 Prerequisites 7 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 8 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 9 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 10 | 11 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 12 | 13 | 2. **Black Box Terminal**: [**install and configure Black Box**](install%20Black%20Box.md)  14 | 3. **Z Shell (ZSH)** : [**install zsh**](install%20ZSH.md)  15 | 4. [Starship](https://starship.rs/) prompt 16 | 5. Configure starship_theLine theme 17 | ### ⚙️ Configure starship_theLine theme 18 | 1. Open any text editor 19 | 2. Copy the next : 20 | ```toml 21 | #--------[ LORENS OSMAN ]--------# 22 | 23 | 24 | #--------[ starship_theLine ] 25 | 26 | format = """ 27 | ${custom.user}\ 28 | [━━━](#eddf31 bold)\ 29 | ${custom.host}\ 30 | [━━](fg:#4b494f bold)\ 31 | ${custom.dir}\ 32 | [━━](fg:#4b494f bold)\ 33 | ${custom.git}\ 34 | $fill\ 35 | $line_break\ 36 | $username\ 37 | $hostname\ 38 | ${custom.directory}\ 39 | [ ](fg:#4b494f bold)\ 40 | $git_branch\ 41 | $line_break\ 42 | $character 43 | """ 44 | 45 | 46 | #--------[CUSTOM COMMANDS] 47 | 48 | [custom.directory] 49 | description = "Replace the default directory command" 50 | command = """echo "${PWD/$HOME/~}" """ 51 | style = "fg:#33dd2d " 52 | format = "[ 󰉋 $output]($style)" 53 | when = "true" 54 | 55 | [custom.dir] 56 | description = "the line above custom directory " 57 | command = """echo $(pwd | sed "s|$HOME|~|") | wc -m | tr -d '\\n' | xargs -I {} seq -s '━' {} | tr -d '[:digit:]' """ 58 | style = "fg:#33dd2d" 59 | format = "[━━$output]($style)" 60 | when = "true" 61 | 62 | [custom.user] 63 | description = "the line above username" 64 | command = "echo $USER 2>/dev/null | wc -m | tr -d '\\n' | xargs -I {} seq -s '━' {} | tr -d '[:digit:]' " 65 | style = "#313fed bold" 66 | format = "[$output]($style)" 67 | when = "true" 68 | 69 | [custom.host] 70 | description = "the line above hostname" 71 | command = "echo $HOST 2>/dev/null | wc -m | tr -d '\\n' | xargs -I {} seq -s '━' {} | tr -d '[:digit:]' " 72 | style = "red bold" 73 | format = "[$output]($style)" 74 | when = "true" 75 | 76 | [custom.git] 77 | description = "the line above branch name" 78 | command = "git rev-parse --abbrev-ref HEAD 2>/dev/null | wc -m | tr -d '\\n' | xargs -I {} seq -s '━' {} | tr -d '[:digit:]'| awk '{print $0 \"━━\"}'" 79 | when = "git rev-parse --abbrev-ref HEAD 2>/dev/null" 80 | shell = ["bash", "--noprofile", "--norc"] 81 | style = "fg:#e5e513" 82 | format = "[$output]($style)" 83 | 84 | 85 | #--------[COMMANDS] 86 | 87 | [username] 88 | style_user = '#313fed bold' 89 | style_root = 'black bold' 90 | format = '[$user]($style)[ @ ](#eddf31 bold)' 91 | disabled = false 92 | show_always = true 93 | 94 | [hostname] 95 | ssh_only = false 96 | format = '[$ssh_symbol](bold blue)[$hostname](bold red)' 97 | trim_at = '.companyname.com' 98 | disabled = false 99 | 100 | [fill] 101 | symbol="━" 102 | style = "fg:#4b494f bold" 103 | 104 | [line_break] 105 | disabled = false 106 | 107 | [character] 108 | success_symbol ='[ ━━](bold green)' 109 | error_symbol ='[✖ ](bold red)' 110 | 111 | #--------[GIT COMMANDS] 112 | 113 | [git_branch] 114 | symbol = " " 115 | style = "bold fg:#e5e512" 116 | format = "[ $symbol$branch(:$remote_branch) ]($style)" 117 | 118 | 119 | ``` 120 | 3. Save the file in `toml` format, with the name `starship_theLine.toml` 121 | 4. Open the `.zshrc` file using any text editor 122 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine.toml` Be sure to replace `path` with the actual location where you saved the `starship_theLine.toml` file 123 | 6. Reload your terminal 124 | 7. Enjoy! 125 | ### 🖼️ Screenshots 126 | 127 | 128 | ![Screenshot from 2024-01-09 15-57-26.png](assets/theLine/Screenshot%20from%202024-01-09%2015-57-26.png) 129 | 130 | ![Screenshot from 2024-01-09 15-58-44.png](assets/theLine/Screenshot%20from%202024-01-09%2015-58-44.png) 131 | 132 | ![Screenshot from 2024-01-09 15-57-41.png](assets/theLine/Screenshot%20from%202024-01-09%2015-57-41.png) 133 | 134 | ![Screenshot from 2024-01-09 15-56-43.png](assets/theLine/Screenshot%20from%202024-01-09%2015-56-43.png) 135 | 136 | ![creenshot from 2024-01-09 15-56-21.png](assets/theLine/Screenshot%20from%202024-01-09%2015-56-21.png) 137 | ### 🤩🪄 Other flavors 138 | 139 | - [theLine_CHIN](theLine_CHAIN.md) 140 | - [theLine_HEAVY](theLine_HEAVY.md) 141 | - [theLine_MINMAL](theLine_MINIMAL.md) 142 | - [theLine_DASHED](theLine_DASHED.md) 143 | - [theLine_2LINE](theLine_2LINE.md) 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | --- 156 | Our inspiration came from the following project 157 | [Headline ZSH Theme](https://github.com/Moarram/headline) 158 | 159 | -------------------------------------------------------------------------------- /theLine_DASHED.md: -------------------------------------------------------------------------------- 1 | # theLine_DASHED 2 | 3 | ### 🧩 Prerequisites 4 | *To replicate the terminal appearance as shown in the screenshots, please follow all the following steps. Otherwise, you may skip steps 1 and 2.* 5 | 1. **[Ubuntu Mono Nerd Font Regular ](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/UbuntuMono/Regular)** 6 | Or **[Fira Code Nerd Font Regular](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode/Regular)** 7 | 8 | > [**Nerd Fonts**](https://github.com/ryanoasis/nerd-fonts/tree/master) is a project that patches developer targeted fonts with a high number of glyphs (icons), Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. 9 | 10 | 2. **Black Box Terminal**: [[line/install Black Box|install and configure Black Box]] 11 | 3. **Z Shell (ZSH)** : [[line/install ZSH|install zsh]] 12 | 4. [Starship](https://starship.rs/) prompt 13 | 5. Configure starship_theLine_DASHED theme 14 | ### ⚙️ Configure starship_theLine_DASHED theme 15 | 1. Open any text editor 16 | 2. Copy the next : 17 | ```toml 18 | #--------[ LORENS OSMAN ]--------# 19 | 20 | 21 | #--------[ starship_theLine_DASHED] 22 | 23 | format = """${custom.user}\ 24 | [---](#eddf31 bold)\ 25 | ${custom.host}\ 26 | [--](fg:#4b494f bold)\ 27 | ${custom.dir}\ 28 | $fill\ 29 | $git_branch\ 30 | $git_status\ 31 | $git_state\ 32 | $line_break\ 33 | $username\ 34 | $hostname\ 35 | ${custom.directory}\ 36 | $line_break\ 37 | $character 38 | """ 39 | 40 | 41 | #--------[CUSTOM COMMANDS] 42 | 43 | [custom.directory] 44 | description = "Replace the default directory command" 45 | command = """echo "${PWD/$HOME/~}" """ 46 | style = "fg:#33dd2d " 47 | format = "[ 󰉋 $output]($style)" 48 | when = "true" 49 | 50 | [custom.dir] 51 | description = "Dashes above directory " 52 | command = """printf '%*s' "$(echo $(( $(pwd | sed "s|$HOME|~|" | wc -c) + 1 )))" '' | tr ' ' '-'""" 53 | style = "fg:#33dd2d" 54 | format = "[$output]($style)" 55 | when = "true" 56 | 57 | [custom.user] 58 | description = "Dashes above username" 59 | command = """printf '%*s' "$(echo $(echo $USER | tr -d '\n' | wc -c)+ 2)" '' | tr ' ' '-'""" 60 | style = "#313fed bold" 61 | format = "[$output]($style)" 62 | when = "true" 63 | 64 | [custom.host] 65 | description = "Dashes above hostname" 66 | command = """printf '%*s' "$(echo $(echo $HOST | tr -d '\n' | wc -c))" '' | tr ' ' '-'""" 67 | style = "red bold" 68 | format = "[$output]($style)" 69 | when = "true" 70 | 71 | 72 | #--------[COMMANDS] 73 | 74 | [hostname] 75 | ssh_only = false 76 | format = '[$ssh_symbol](bold blue)[$hostname](bold red)' 77 | trim_at = '.companyname.com' 78 | disabled = false 79 | 80 | [username] 81 | style_user = '#313fed bold' 82 | style_root = 'black bold' 83 | format = '[ $user]($style)[ @ ](#eddf31 bold)' 84 | disabled = false 85 | show_always = true 86 | 87 | [fill] 88 | symbol="-" 89 | style = "fg:#4b494f bold" 90 | 91 | [line_break] 92 | disabled = false 93 | 94 | [character] 95 | success_symbol ='[➜ ](bold green)' 96 | error_symbol ='[✖ ](bold red)' 97 | 98 | #--------[GIT COMMANDS] 99 | 100 | [git_branch] 101 | symbol = " " 102 | style = "fg:#e5e512 bg:#4b494f" 103 | format = "[ $symbol$branch(:$remote_branch) ]($style)" 104 | 105 | [git_status] 106 | # disabled = true 107 | style = "fg:#e5e512 bg:#242424" 108 | staged = "STG:${count} " # nf-fa-check 109 | modified = "MOD:${count} " # nf-fa-edit 110 | # modified = "  ${count}" # nf-fa-pencil 111 | renamed = "󰗧:${count} " # nf-md-cursor_text 112 | untracked = "UN:${count} " # nf-fa-question 113 | deleted = "DEL:${count} " # nf-fa-remove 114 | conflicted = "✖:${count} " # nf-fa-flag 115 | stashed = ":${count} " # nf-fa-bank 116 | # stashed = "  ${count}" # nf-fa-inbox 117 | 118 | ahead = "󰞙 ${count} " # nf-md-arrow_expand_up 119 | behind = "󰞖 ${count} " # nf-md-arrow_expand_down 120 | diverged = "󰡏 ${ahead_count} ${behind_count} " # nf-md-arrow_expand_vertical 121 | # diverged = "󰯎 ${ahead_count} ${behind_count}" # nf-md-swap_vertical_bold 122 | # ignore_submodules = true 123 | format = "[ ([$staged](fg:47 bg:#242424)[$modified](fg:5 bg:#242424)$renamed[$untracked](blue bg:#242424)[$deleted](fg:9 bg:#242424)$conflicted$stashed$ahead_behind )]($style)" 124 | 125 | [git_state] 126 | # disabled = true 127 | style = "bg:color_git_state fg:color_foreground_dark" 128 | rebase = "rebasing" 129 | merge = "merging" 130 | revert = "reverting" 131 | cherry_pick = " picking" # nf-fae-cherry 132 | bisect = "bisecting" 133 | am = "am'ing" 134 | am_or_rebase = "am/rebase" 135 | format = '[ $state($progress_current/$progress_total) ]($style)' 136 | 137 | ``` 138 | 3. Save the file in `toml` format, with the name `starship_theLine_DASHED.toml` 139 | 4. Open the `.zshrc` file using any text editor 140 | 5. Before the line `eval "$(starship init zsh)"` add the line `export STARSHIP_CONFIG=~/path/starship_theLine_DASHED.toml`Be sure to replace `path` with the actual location where you saved the `starship_theLine_DASHED.toml` file 141 | 6. Reload your terminal 142 | 7. Enjoy! 143 | ### 🖼️ Screenshots 144 | 145 | ![Screenshot from 2024-01-09 16-04-38.png](assets/dashed/Screenshot%20from%202024-01-09%2016-04-38.png) 146 | 147 | ![Screenshot from 2024-01-09 16-04-38.png](assets/dashed/Screenshot%20from%202024-01-09%2016-04-48.png) 148 | 149 | ![Screenshot from 2024-01-09 16-04-38.png](assets/dashed/Screenshot%20from%202024-01-09%2016-05-07.png) 150 | 151 | ![Screenshot from 2024-01-09 16-04-38.png](assets/dashed/Screenshot%20from%202024-01-09%2016-04-16.png) 152 | 153 | ![Screenshot from 2024-01-09 16-04-38.png](assets/dashed/Screenshot%20from%202024-01-09%2016-03-45.png) 154 | --------------------------------------------------------------------------------