From e3bab8d37711d12d63b2e554967df4df3c8d0a4c Mon Sep 17 00:00:00 2001 From: randomuser Date: Sun, 28 May 2023 17:34:55 -0500 Subject: [PATCH] misc changes --- bash/bashrc | 9 +++++++++ bash/profile | 3 +++ nvim/init.lua | 4 +++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/bash/bashrc b/bash/bashrc index ea4bd50..1db76a8 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -63,6 +63,15 @@ start_bitlbee() { bitlbee #-D -c $HOME/.config/bitlbee/config -d $HOME/.config/bitlbee/ } +dock-kill() { + docker stop $( + docker ps | + grep -v 'CONTAINER' | + fzy | + awk -F' ' '{print $1}' + ) +} + alias gs='git status' alias f=files alias lofi="mpv https://www.youtube.com/watch?v=jfKfPfyJRdk --no-video" diff --git a/bash/profile b/bash/profile index cc5a9e8..31a5bd9 100644 --- a/bash/profile +++ b/bash/profile @@ -48,6 +48,9 @@ export GTK_THEME="earth" # elinks export ELINKS_CONFDIR="$HOME/.config/elinks" +# dbus configuration +export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus" + # source the bashrc(s) [ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc [ -f $HOME/.bashrc ] && . $HOME/.bashrc diff --git a/nvim/init.lua b/nvim/init.lua index e3f3aeb..6c00a18 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -121,7 +121,9 @@ function setTabbing(lang, width) end setTabbing("python", 4) -setTabbing("javascript", 2) +setTabbing("javascript", 4) +setTabbing("css", 4) +setTabbing("html", 4) vim.api.nvim_create_autocmd({"TermOpen"}, { pattern = {"*"},