From 5a7db2f34aa6a6787d98a001b6d28be97f36abf4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 12:56:30 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- base/Makefile | 25 ++++++ base/faces/gnu-wink.svg | 217 ++++++++++++++++++++++++++++++++++++++++++++++++ base/faces/penguin.png | Bin 0 -> 12839 bytes base/profile | 43 ++++++++++ base/user-dirs.locale | 1 + 5 files changed, 286 insertions(+) create mode 100644 base/Makefile create mode 100644 base/faces/gnu-wink.svg create mode 100644 base/faces/penguin.png create mode 100644 base/profile create mode 100644 base/user-dirs.locale (limited to 'base') diff --git a/base/Makefile b/base/Makefile new file mode 100644 index 0000000..8006e1f --- /dev/null +++ b/base/Makefile @@ -0,0 +1,25 @@ +.POSIX: + +FACE = penguin.png + +install: + mkdir -p -- ~/.config + test ! -d ~/.profile + test ! -d ~/.config/profile + test ! -d ~/.config/user-dirs.locale + test ! -d ~/.config/face + test ! -d ~/.face + test ! -d ~/.face.icon + ln -sf -- .config/profile ~/.profile + ln -sf -- ~/.dotfiles/base/profile ~/.config/profile + ln -sf -- ~/.dotfiles/base/user-dirs.locale ~/.config/ + ln -sf -- ~/.dotfiles/base/faces/$(FACE) ~/.config/face + ln -sf -- .face ~/.face.icon + ln -sf -- .config/face ~/.face + +uninstall: + -unlink -- ~/.config/profile + -unlink -- ~/.config/user-dirs.locale + -unlink -- ~/.profile + +.PHONY: install uninstall diff --git a/base/faces/gnu-wink.svg b/base/faces/gnu-wink.svg new file mode 100644 index 0000000..f9939e4 --- /dev/null +++ b/base/faces/gnu-wink.svg @@ -0,0 +1,217 @@ + + + + +Created by potrace 1.12, written by Peter Selinger 2001-2015 + + + + + + + + + + diff --git a/base/faces/penguin.png b/base/faces/penguin.png new file mode 100644 index 0000000..10be782 Binary files /dev/null and b/base/faces/penguin.png differ diff --git a/base/profile b/base/profile new file mode 100644 index 0000000..4410d8e --- /dev/null +++ b/base/profile @@ -0,0 +1,43 @@ +# -*- shell-script -*- + +export LOCALE="en_GB.UTF-8" +export LC_ALL="en_GB.UTF-8" +export LANG="en_GB.UTF-8" + +export MAIN_ALSA_CARD=0 +export MAIN_ALSA_MIXER=PCM + +if test -z "${XDG_RUNTIME_DIR}"; then + export XDG_RUNTIME_DIR='/tmp/.~'"$(whoami)" +fi +mkdir -p -- "${XDG_RUNTIME_DIR}" + +if test -x ~/.local/bin/e; then + export EDITOR=~/.local/bin/e +elif test -x /usr/bin/emacs; then + export EDITOR="emacs -nw" +elif test -x /usr/bin/vis; then + export EDITOR="vis" +elif test -x /usr/bin/nano; then + export EDITOR="nano" +elif test -x /usr/bin/vim; then + export EDITOR="vim" +elif test -x /usr/bin/vi; then + export EDITOR="vi" +fi +export VISUAL="${EDITOR}" + +for __script in ~/.config/profile.d/*; do + if test -r "${__script}"; then + . "${__script}" + fi +done +unset __script + +if test -r ~/.config/"profile-$(hostname)"; then + . ~/.config/"profile-$(hostname)" +fi + +if test -r ~/work/.config/profile; then + . ~/work/.config/profile +fi diff --git a/base/user-dirs.locale b/base/user-dirs.locale new file mode 100644 index 0000000..daa2955 --- /dev/null +++ b/base/user-dirs.locale @@ -0,0 +1 @@ +en_GB -- cgit v1.2.3-70-g09d2