diff --git a/bash/.bashrc b/bash/.bashrc index 25f526a..a0fa985 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -12,4 +12,30 @@ alias dog='cat' alias ..='cd ..' alias writer='libreoffice --writer' +#neofetch neofetch + +#powerline +function _update_ps1() { + PS1=$(powerline-shell $?) +} +if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then + PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" +fi + + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/paul/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/paul/anaconda3/etc/profile.d/conda.sh" ]; then + . "/home/paul/anaconda3/etc/profile.d/conda.sh" + else + export PATH="/home/paul/anaconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< + diff --git a/bash/.config/powerline-shell/config.json b/bash/.config/powerline-shell/config.json new file mode 100644 index 0000000..7fc6746 --- /dev/null +++ b/bash/.config/powerline-shell/config.json @@ -0,0 +1,14 @@ +{ + "segments": [ + "virtual_env", + "username", + "hostname", + "ssh", + "cwd", + "git", + "hg", + "jobs", + "root" + ], + "mode": "flat" +} diff --git a/qtile/.config/qtile/bars.py b/qtile/.config/qtile/bars.py index 987c6bb..b365143 100644 --- a/qtile/.config/qtile/bars.py +++ b/qtile/.config/qtile/bars.py @@ -17,7 +17,7 @@ main_bar = bar.Bar([ widget.Systray(), widget.TextBox("Vol:"), widget.Volume(), - widget.CPU(format='CPU: {load_percent}%'), + widget.CPU(format='CPU: {freq_max}GHz {load_percent}%'), widget.Memory(format='RAM: {MemUsed}MB'), widget.Memory(format='Swap: {SwapUsed}MB'), widget.NetGraph(), @@ -28,10 +28,12 @@ left_bar = bar.Bar([ widget.CurrentLayoutIcon(), widget.GroupBox(), widget.WindowName(), + widget.Clock(format='%Y-%m-%d %H:%M'), ],24) top_bar = bar.Bar([ widget.CurrentLayoutIcon(), widget.GroupBox(), widget.WindowName(), + widget.Clock(format='%Y-%m-%d %H:%M'), ],24) \ No newline at end of file