From 18476ac13b273a232ab37d148886534e993dae67 Mon Sep 17 00:00:00 2001 From: CramMK Date: Thu, 13 Feb 2020 23:23:02 +0100 Subject: [PATCH] Change i3 bar --- dotfiles/bashrc | 19 +------------------ dotfiles/i3status_config | 8 ++++---- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/dotfiles/bashrc b/dotfiles/bashrc index c80e6b0..e40fd59 100755 --- a/dotfiles/bashrc +++ b/dotfiles/bashrc @@ -2,12 +2,10 @@ git_branch() { git branch 2>/dev/null | grep '^*' | colrm 1 2 } -CHAR="\[\033[1;93m\]$\[\033[m\]" -NAME="\[\033[1;32m\]\u\[\033[m\]" HOST="\[\033[0;37m\]\h\[\033[m\]" GIT="\[\033[1;91m\](\$(git_branch))\[\033[m\]" DIR="\[\033[1;94m\]\w\[\033[m\]" -export PS1="${NAME}@${HOST}:${DIR} ${GIT} ${CHAR} " +export PS1="${HOST} ${DIR} ${GIT} " # Set vim as default export VISUAL=vim @@ -22,21 +20,6 @@ alias ll="ls -l" alias la="ls -la" alias rm="rm -i" -# Screenhots -alias screenshot="import ~/Downloads/Screenshot-$(date '+%Y%m%d-%H%M%S').png" - -# Common files -alias bashrc="vim ~/.bashrc" -alias sourcebashrc="source ~/.bashrc" -alias sbash="sourcebashrc" -alias vimrc="vim ~/.vimrc" - -# Fonts -alias listfonts="fc-list :scalable=true:spacing=mono: family" -alias cachefonts="fc-cache -f -v" -# xterm -fa "Fontname" -fs 11 -# xrdb ~/.Xresources - # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc diff --git a/dotfiles/i3status_config b/dotfiles/i3status_config index 6e6ee4c..2d96d0f 100644 --- a/dotfiles/i3status_config +++ b/dotfiles/i3status_config @@ -9,16 +9,16 @@ general { } {%@@ if profile == "laptop" @@%} -order += "load" -order += "memory" -order += "cpu_temperature 0" order += "ethernet _first_" order += "wireless _first_" -order += "volume master" order += "battery all" +order += "tztime local" +order += "volume master" {%@@ endif @@%} +{%@@ if profile == "work" @@%} order += "tztime local" +{%@@ endif @@%} load {