Changed the p10k prompt and changed the monospace font for Polybar from Fantasque Sans Mono to Roboto Mono
parent
f0cbab52a0
commit
c51725513a
|
@ -131,7 +131,7 @@ module-margin = 2
|
|||
|
||||
font-0 = "Roboto Medium:pixelsize=10;3"
|
||||
font-1 = "Material\-Design\-Iconic\-Font:size=13;3"
|
||||
font-2 = "Fantasque Sans Mono:pixelsize=10;3"
|
||||
font-2 = "Roboto Mono:pixelsize=10;3"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
|
|
18
.p10k.zsh
18
.p10k.zsh
|
@ -1,8 +1,8 @@
|
|||
# Generated by Powerlevel10k configuration wizard on 2021-10-05 at 20:37 CEST.
|
||||
# Generated by Powerlevel10k configuration wizard on 2021-12-16 at 15:39 CET.
|
||||
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 20612.
|
||||
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, darkest,
|
||||
# 24h time, slanted separators, slanted heads, slanted tails, 2 lines, dotted, no frame,
|
||||
# sparse, many icons, concise, transient_prompt, instant_prompt=quiet.
|
||||
# 24h time, slanted separators, blurred heads, flat tails, 2 lines, dotted, no frame,
|
||||
# compact, many icons, concise, transient_prompt, instant_prompt=quiet.
|
||||
# Type `p10k configure` to generate another config.
|
||||
#
|
||||
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
|
||||
|
@ -130,7 +130,7 @@
|
|||
typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=
|
||||
|
||||
# Add an empty line before each prompt.
|
||||
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
|
||||
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
|
||||
|
||||
# Connect left prompt lines with these symbols. You'll probably want to use the same color
|
||||
# as POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND below.
|
||||
|
@ -171,13 +171,13 @@
|
|||
# Separator between different-color segments on the right.
|
||||
typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0BA'
|
||||
# The right end of left prompt.
|
||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0BC'
|
||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='▓▒░'
|
||||
# The left end of right prompt.
|
||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0BA'
|
||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='░▒▓'
|
||||
# The left end of left prompt.
|
||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0BA'
|
||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL=''
|
||||
# The right end of right prompt.
|
||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0BC'
|
||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL=''
|
||||
# Left prompt terminator for lines without any segments.
|
||||
typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=
|
||||
|
||||
|
@ -219,7 +219,7 @@
|
|||
# Replace removed segment suffixes with this symbol.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
||||
# Color of the shortened directory segments.
|
||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=103
|
||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=9
|
||||
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
||||
# segment is always an anchor.
|
||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=9
|
||||
|
|
|
@ -20,7 +20,7 @@ After installing the dependencies, place the stuff like you see it in your home
|
|||
|
||||
### Polybar
|
||||
|
||||
`.config/polybar` contains stuff from [adi1090x's Polybar Themes repo](https://github.com/adi1090x/polybar-themes) with the addition of a custom folder called `gmg` which is a modified version of the `material` theme present in the same base directory. To launch Polybar with my theme, just run the `launch.sh` script with the flag `--gmg`. You might want to make a thing at login that automatically runs the command for you. Also a lot of the stuff in this custom theme has italian text so, unless you like pasta a lot, you might wanna change that. For this the fonts [Roboto](https://fonts.google.com/specimen/Roboto), [Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans) and [Material Design Iconic Font](https://zavoloklom.github.io/material-design-iconic-font/) are required for the theme to work properly, but you can always set your own in the `config.ini` file. For the date module to work correctly in your system language, assuming it isn't italian, you have to change the line `locale = it_IT.UTF-8` in the `config.ini` file.
|
||||
`.config/polybar` contains stuff from [adi1090x's Polybar Themes repo](https://github.com/adi1090x/polybar-themes) with the addition of a custom folder called `gmg` which is a modified version of the `material` theme present in the same base directory. To launch Polybar with my theme, just run the `launch.sh` script with the flag `--gmg`. You might want to make a thing at login that automatically runs the command for you. Also a lot of the stuff in this custom theme has italian text so, unless you like pasta a lot, you might wanna change that. For this the fonts [Roboto](https://fonts.google.com/specimen/Roboto), [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono) and [Material Design Iconic Font](https://zavoloklom.github.io/material-design-iconic-font/) are required for the theme to work properly, but you can always set your own in the `config.ini` file. For the date module to work correctly in your system language, assuming it isn't italian, you have to change the line `locale = it_IT.UTF-8` in the `config.ini` file.
|
||||
|
||||
I've got a few very simple stupid Polybar modules that I've made myself for my workflow. You can see what each of them do at `gmg/user_modules.ini`.
|
||||
|
||||
|
|
Reference in New Issue