changes before release

This commit is contained in:
tavo-wasd 2023-08-07 19:48:26 -06:00
parent b1c19220ea
commit b0facdba6e
6 changed files with 15 additions and 2 deletions

2
.gitignore vendored
View file

@ -134,3 +134,5 @@ rofi/
QtProject.conf
wget/
java/
xfce4/
Thunar/

View file

@ -1,8 +1,11 @@
#!/bin/sh
# OTP script for 'pass'
PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
# Ask for password name in vault
password=$(find $XDG_DATA_HOME/password-store/ -type f -name '*.gpg' | sed 's/.*\/\(.*\)\.gpg$/\1/' | menu "OTP:")
password=$(find "$PASWORD_STORE_DIR" -type f -name '*.gpg' |
sed 's/.*\/\(.*\)\.gpg$/\1/' | menu "OTP:")
# Exit if none chosen
[ -z "$password" ] && exit

View file

@ -1,6 +1,8 @@
#!/bin/sh
# Script for 'pass'
PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
# Ask for password name in vault
password="$(find "$PASSWORD_STORE_DIR" -type f -name '*.gpg' |
sed 's/.*\/\(.*\)\.gpg$/\1/' | menu "Password:")"

View file

@ -27,7 +27,7 @@ source ~/.config/shell/functions
# Binds
bind '"\C-f":"fzf_nav\C-m"'
bind '"\C-y":"copy_output\C-m"'
bind '"\C-e":"dragon -x \*\C-m"'
bind '"\C-e":"dragon -x \* 2>/dev/null\C-m"'
# Autostart dwm after tty login
type systemctl 2>/dev/null 1>&2 && if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then

View file

@ -8,6 +8,7 @@ export \
XDG_CONFIG_HOME="$HOME/.config" \
_JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" \
GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" \
PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store" \
VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" \
XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" \
XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" \

5
wrappers/chromium Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
HOME=$HOME/.local/share/chromium
mkdir -p "$HOME"
exec /usr/bin/chromium "$@"