summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/.bashrc4
-rwxr-xr-xpublic/.local/bin/dmenu-webshortcuts.sh1
-rw-r--r--public/code/dwm/config.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/public/.bashrc b/public/.bashrc
index e942344..bf832ac 100644
--- a/public/.bashrc
+++ b/public/.bashrc
@@ -79,7 +79,7 @@ ds=(
"$HOME/code/tex-live-native/build/bin/x86_64-linux"
"$HOME/.local/share/gem/ruby/3.0.0/bin"
"$HOME/.local/bin"
- "$HOME/dotfiles/public/.local/bin"
+ "$HOME/mahcode/dotfiles/public/.local/bin"
)
for d in "${ds[@]}"; do
if ! echo $PATH | grep -qE "(^|:)$d($|:)"; then
@@ -113,6 +113,8 @@ export LESS
# better `ls` (and other programs like `tree`) colors
eval "$(dircolors)"
+# container directory for many python venv
+export PYTHON_VENVS="$XDG_DATA_HOME/python/venvs"
# Extra programs
# --------------
diff --git a/public/.local/bin/dmenu-webshortcuts.sh b/public/.local/bin/dmenu-webshortcuts.sh
index e1d233c..5ab4f82 100755
--- a/public/.local/bin/dmenu-webshortcuts.sh
+++ b/public/.local/bin/dmenu-webshortcuts.sh
@@ -50,6 +50,7 @@ case "$keyword" in
"so") xdg-open "https://stackoverflow.com/search?q=${search_term// /+}" ;;
"gh") xdg-open "https://github.com/search?q=${search_term// /+}&type=repositories" ;;
"gl") xdg-open "https://about.gitlab.com/search?searchText=$search_term" ;;
+ "python") xdg-open "https://docs.python.org/3/search.html?q=${search_term// /+}" ;;
"pypi") xdg-open "https://pypi.org/search/?q=${search_term// /+}&o=" ;;
"npm") xdg-open "https://www.npmjs.com/search?q=${search_term// /+}" ;;
diff --git a/public/code/dwm/config.h b/public/code/dwm/config.h
index bfb050f..1e9ceb5 100644
--- a/public/code/dwm/config.h
+++ b/public/code/dwm/config.h
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 0; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */