From ac55743238839481a4f4eeb9f4b298873336c6e7 Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Sun, 22 Oct 2023 17:23:48 +0530 Subject: [PATCH 1/2] per user podman start --- home/.bashrc | 2 ++ home/.local/Apps/daily-utils/bin/hari-tools.sh | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/home/.bashrc b/home/.bashrc index 2c32eb4..39e4335 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -28,6 +28,8 @@ PS1="${F_BOLD}${C_AQUAMARINE1}\u@\h${C_YELLOW1} \w \\\$${NO_FORMAT} " [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock + export EDITOR=vim export HISTCONTROL=ignoredups export HISTSIZE=11000 diff --git a/home/.local/Apps/daily-utils/bin/hari-tools.sh b/home/.local/Apps/daily-utils/bin/hari-tools.sh index 24c5838..18daab1 100755 --- a/home/.local/Apps/daily-utils/bin/hari-tools.sh +++ b/home/.local/Apps/daily-utils/bin/hari-tools.sh @@ -12,6 +12,15 @@ list-commands(){ typeset -F | cut -d ' ' -f 3 | grep -v '^_' | sort } +# start rootless podman socket +podmanStart(){ + set -x + systemctl --user enable podman.socket + systemctl --user start podman.socket + systemctl --user status podman.socket + echo export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock +} + # ts / tsx to js/jsx tstojs(){ set -x From 79633dc2c8e7356b8ddad1e89c86b89e53e40567 Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Sun, 22 Oct 2023 18:10:12 +0530 Subject: [PATCH 2/2] Customize TK theme --- home/.Xresources | 1 + 1 file changed, 1 insertion(+) create mode 100644 home/.Xresources diff --git a/home/.Xresources b/home/.Xresources new file mode 100644 index 0000000..0f38363 --- /dev/null +++ b/home/.Xresources @@ -0,0 +1 @@ +*TkTheme: clam