dot

packages and services management
Log | Files | Refs | README

commit d59762ec198511750fd8153d3ab13e263b811257
parent b9b53d9241fe0eada5726988acd7f4215229d931
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 22 Nov 2017 14:44:30 +0100

big bold $

Diffstat:
Abin/edit | 3+++
Mbin/package | 2+-
Mdot/bashrc | 12+++---------
Mdot/profile | 2+-
Mpackage/dwm/config.h | 4++--
5 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/bin/edit b/bin/edit @@ -0,0 +1,3 @@ +#!/bin/sh + +exec vi diff --git a/bin/package b/bin/package @@ -65,7 +65,7 @@ case "$1" in (cd "$OPT" && find . ! -type d -exec ln -sf "$OPT/{}" "$SYSROOT/{}" ';') ;; (del) - rm -rf "$OPT" "$SRC" + rm -rf "$OPT" find -L "$SYSROOT" -type l -exec rm {} + ;; (*) diff --git a/dot/bashrc b/dot/bashrc @@ -1,8 +1,7 @@ -PS1='\[$( - [ $? = 0 ] || printf "\033[31;1mx\n\033[m" -)$( +PS1='$( + printf "\033[%dm$\033[m " "$([ "$?" = 0 ] && printf 1 || printf 31)" printf "\033];%s %s%s\007" "$(uname -n)" "$PWD" "$(git-status)" -)\]--- ' +)' PS2=' -- ' alias cl='printf "\033[H\033[2J"' @@ -12,8 +11,3 @@ alias s='git status -s --branch' alias c='cd "$(find . -maxdepth 4 -name .git -prune -o -type d | iomenu)"' alias f='f=$(io-find)' alias l='ls -Alp' - -day() -{ - cd "$HOME/git/CPool_Day$(printf %02d "$1")_2017" -} diff --git a/dot/profile b/dot/profile @@ -2,7 +2,7 @@ export NAME="Josuah Demangeon" export TZ="Europe/Paris" export NICK="josuah" export EMAIL="mail@josuah.net" -export EDITOR="vim" VISUAL="vim" +export EDITOR="edit" VISUAL="edit" export PAGER="less" MANPAGER="less" export ENV="$HOME/.bashrc" diff --git a/package/dwm/config.h b/package/dwm/config.h @@ -44,7 +44,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ -static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ @@ -67,7 +67,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "st", NULL }; +static const char *termcmd[] = { "st", "-f", dmenufont, NULL }; static Key keys[] = { /* modifier key function argument */