Minor fixes

This commit is contained in:
pgfm 2022-02-15 06:08:48 -06:00
parent 8b982bc531
commit 97da57d7dd
2 changed files with 7 additions and 8 deletions

View file

@ -41,7 +41,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
floating_modifier $mod floating_modifier $mod
# start a terminal # start a terminal
bindsym $mod+Return exec primary-terminal bindsym $mod+Return exec urxvt
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill

View file

@ -25,7 +25,6 @@ shopt -s histappend
HISTSIZE=1000 HISTSIZE=1000
HISTFILESIZE=2000 HISTFILESIZE=2000
shopt -s checkwinsize shopt -s checkwinsize
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if ! shopt -oq posix; then if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then if [ -f /usr/share/bash-completion/bash_completion ]; then
@ -42,7 +41,7 @@ ps1_startup_file="$HOME/.startup/ps1"
if [ -f "$ps1_startup_file" ]; then if [ -f "$ps1_startup_file" ]; then
source $ps1_startup_file source $ps1_startup_file
else else
if logging_enabled; then if $logging_enabled; then
echo "[warn] Custom PS1 for bash missing at " \ echo "[warn] Custom PS1 for bash missing at " \
"'$ps1_startup_file': " \ "'$ps1_startup_file': " \
"see git@git.sr.ht:~eidolon/scripts" >> $log_file "see git@git.sr.ht:~eidolon/scripts" >> $log_file
@ -87,7 +86,7 @@ ssh_agent_startup_file="$HOME/.startup/start-ssh-agent"
if [ -f "$ssh_agent_startup_file" ]; then if [ -f "$ssh_agent_startup_file" ]; then
source "$ssh_agent_startup_file" source "$ssh_agent_startup_file"
else else
if logging_enabled; then if $logging_enabled; then
echo "[warn] SSH Agent startup code missing at " \ echo "[warn] SSH Agent startup code missing at " \
"'$ssh_agent_startup_file': " \ "'$ssh_agent_startup_file': " \
"see git@git.sr.ht:~eidolon/scripts" >> $log_file "see git@git.sr.ht:~eidolon/scripts" >> $log_file
@ -97,18 +96,18 @@ fi
# ============================================================================= # =============================================================================
# Aliases # Aliases
# ============================================================================= # =============================================================================
if [ `which exa` ]; then if command -v exa > /dev/null 2>&1; then
alias ls='exa' alias ls='exa'
else else
if logging_enabled; then if $logging_enabled; then
echo "[warn] exa is not setup! Using the system ls" >> $log_file echo "[warn] exa is not setup! Using the system ls" >> $log_file
fi fi
fi fi
if [ `which nvim` ]; then if command -v nvim > /dev/null 2>&1; then
alias vim='nvim' alias vim='nvim'
else else
if logging_enabled; then if $logging_enabled; then
echo "[warn] Neovim is not setup! Using the system vim" >> $log_file echo "[warn] Neovim is not setup! Using the system vim" >> $log_file
fi fi
fi fi