dot

packages and services management
Log | Files | Refs | README

commit 8a4fe3f003faf2354df6579dd0b20328334d46cb
parent 5d2f523e9970635e2ed5a3bea55d972fc6376bb1
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Fri, 30 Jun 2017 11:29:31 +0200

better tag management

Diffstat:
Mdwm/config.h | 15+++++++++------
Mshell/.profile | 11+++++------
Mshell/rc | 2+-
3 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/dwm/config.h b/dwm/config.h @@ -16,12 +16,15 @@ static const int topbar = 1; /* 0 means bottom bar */ /* tagging */ static const char *tags[] = { - "1 lain", - "2 irc", - "3 ssh", - "4 web", - "5 doc", - "6 media", + "1", + "2", + "3", + "4", + "5 irc", + "6 ssh", + "7 doc", + "8 web", + "9 gui", }; static const Rule rules[] = { diff --git a/shell/.profile b/shell/.profile @@ -1,4 +1,3 @@ - . "$HOME/etc/profile" export NAME='Josuah Demangeon' @@ -8,10 +7,10 @@ export EMAIL='mail@josuah.net' export TZ='Europe/Paris' export LC_ALL='en_US.UTF-8' -export EDITOR='vi' -export VISUAL='vi' -export PAGER='less' -export MANPAGER='less' -export BROWSER='firefox' +export EDITOR=mg +export VISUAL=mg +export PAGER=less +export MANPAGER=less +export BROWSER=firefox . "$ETC/shell/rc" diff --git a/shell/rc b/shell/rc @@ -1,4 +1,4 @@ -PS1='$(err=$?; [ $err = 0 ] || printf " \033[31;1m%s\033[m\n " $err) +PS1='$([ $? = 0 ] || printf " \033[31;1mx\033[m\n ") | $(hostname) $(pwd) $(type git-status > /dev/null 2>&1 && git-status) | ' PS2='... '