From: Mart Lubbers Date: Tue, 2 Feb 2016 12:33:51 +0000 (+0100) Subject: added O to unread and made network script smaller X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=5bc84b8cae76312d76f99c5eb3c97759ea1e8181;p=dotfiles.git added O to unread and made network script smaller --- diff --git a/email/.mutt/colors.muttrc b/email/.mutt/colors.muttrc index 14f0a08..f9deffe 100644 --- a/email/.mutt/colors.muttrc +++ b/email/.mutt/colors.muttrc @@ -16,6 +16,7 @@ color hdrdefault cyan default color signature cyan default color index green default ~p color index brightyellow default ~N +color index brightyellow default ~O color index blue default ~T color index red default ~D color index brightblue default ~F diff --git a/shell/.bashrc b/shell/.bashrc index 4b99ac3..0d6e71f 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -20,7 +20,8 @@ export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin:~/.local/bin alias ls='ls --color=auto' alias grep='grep --color=auto' -alias vi=vim +alias vi='vim' +alias autoclean='sudo pacman -R $(pacman -Qtdq)' set_prompt(){ last_c=$? diff --git a/x/.local/bin/network b/x/.local/bin/network index 21a0eba..2d24504 100755 --- a/x/.local/bin/network +++ b/x/.local/bin/network @@ -1,3 +1,2 @@ -#!/bin/bash -find /etc/netctl -maxdepth 1 -type f | xargs -n 1 basename | dmenu | \ - xargs -I{} sudo -A netctl switch-to {} +#!/bin/bash -e +sudo -A netctl switch-to "$(netctl list | cut -b 3- | dmenu)"