From 1ad2298004655e5245efdb9d4a9ec17ff9e045d6 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 30 Nov 2018 21:24:58 -0500 Subject: [PATCH 1/4] Add bash stuff --- lain/.bash_profile | 3 +++ lain/.bashrc | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 lain/.bash_profile create mode 100644 lain/.bashrc diff --git a/lain/.bash_profile b/lain/.bash_profile new file mode 100644 index 0000000..7ab1ecd --- /dev/null +++ b/lain/.bash_profile @@ -0,0 +1,3 @@ +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + exec startx +fi diff --git a/lain/.bashrc b/lain/.bashrc new file mode 100644 index 0000000..7e55a6e --- /dev/null +++ b/lain/.bashrc @@ -0,0 +1,7 @@ +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +# Unless we are running bash with a command explicitly (-c), drop into fish +if [ -z "$BASH_EXECUTION_STRING" ]; then + exec fish +fi From 3b81214d19e48700ab175109caeacf8bde9015bc Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 30 Nov 2018 21:27:40 -0500 Subject: [PATCH 2/4] Move scripts --- menu.py => scripts/install/menu.py | 0 parse.py => scripts/install/parse.py | 0 test.py => scripts/install/test.py | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename menu.py => scripts/install/menu.py (100%) rename parse.py => scripts/install/parse.py (100%) rename test.py => scripts/install/test.py (100%) diff --git a/menu.py b/scripts/install/menu.py similarity index 100% rename from menu.py rename to scripts/install/menu.py diff --git a/parse.py b/scripts/install/parse.py similarity index 100% rename from parse.py rename to scripts/install/parse.py diff --git a/test.py b/scripts/install/test.py similarity index 100% rename from test.py rename to scripts/install/test.py From 625d22c8c3d43d5f7e307951e57a1c5fd61bd784 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 30 Nov 2018 21:27:57 -0500 Subject: [PATCH 3/4] Add environment vars --- lain/.pam_environment | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lain/.pam_environment b/lain/.pam_environment index 2e31e89..37cd309 100644 --- a/lain/.pam_environment +++ b/lain/.pam_environment @@ -1,2 +1,6 @@ +EDITOR DEFAULT="nvim" SSH_AGENT_PID DEFAULT= SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh" +GTK_IM_MODULE DEFAULT="ibus" +XMODIFIERS DEFAULT="@im=ibus" +QT_IM_MODULE DEFAULT="ibus" From 6f9f722b5f9f7888e4d19a7b77de29099e82e899 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 30 Nov 2018 21:28:10 -0500 Subject: [PATCH 4/4] Add fish config --- lain/.config/fish/config.fish | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lain/.config/fish/config.fish diff --git a/lain/.config/fish/config.fish b/lain/.config/fish/config.fish new file mode 100644 index 0000000..5bebc19 --- /dev/null +++ b/lain/.config/fish/config.fish @@ -0,0 +1,7 @@ +### Environment Variables ### +set -U fish_user_paths ~/.local/bin +# Use all cores for make by default +set -gx MAKEFLAGS -j(nproc) +# TTY for gpg pinentry +set -gx GPG_TTY (tty) +gpg-connect-agent updatestartuptty /bye >/dev/null