update
This commit is contained in:
parent
7a2d8666e7
commit
7fc48a5009
16
.bash_profile
Normal file
16
.bash_profile
Normal file
@ -0,0 +1,16 @@
|
||||
# .bash_profile
|
||||
|
||||
# Get the aliases and functions
|
||||
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
||||
|
||||
export _JAVA_AWT_WM_NOREPARENTING=1
|
||||
|
||||
# SSHAGENT
|
||||
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
|
||||
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
|
||||
rm -f ${SSH_AUTH_SOCK}
|
||||
fi
|
||||
if [ ! -S ${SSH_AUTH_SOCK} ]; then
|
||||
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
|
||||
fi
|
||||
|
16
.bashrc
16
.bashrc
@ -14,6 +14,9 @@ source /etc/profile
|
||||
|
||||
|
||||
# PS1 shell color
|
||||
## simple white ps1 without git
|
||||
#PS1='\[\e[0m\][\[\e[0m\]\u\[\e[0m\]@\[\e[0m\]\H \[\e[0m\]\W\[\e[0m\]]\[\e[0m\]\$ \[\e[0m\]'
|
||||
|
||||
## based on: https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
|
||||
## get current branch in git repo
|
||||
function parse_git_branch() {
|
||||
@ -139,6 +142,7 @@ alias la="ls -alh"
|
||||
alias l="ls -CF"
|
||||
alias ld="ls -d -F */"
|
||||
alias lda="ls -l -d -p */"
|
||||
export HISTCONTROL=ignoredups # fuckin history identical vole
|
||||
|
||||
## network
|
||||
|
||||
@ -158,7 +162,6 @@ alias speedtest="speedtest-cli"
|
||||
alias "cd.."="cd .."
|
||||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
alias ls='exa'
|
||||
|
||||
## gpg encryption
|
||||
# verify signature for isos
|
||||
@ -194,8 +197,9 @@ alias fuck='doas $(history -p \!\!)'
|
||||
alias sudo="doas"
|
||||
|
||||
## void xbps aliases
|
||||
alias xi="doas xbps-install"
|
||||
alias xq="doas xbps-query -Rs"
|
||||
#alias xi="doas xbps-install"
|
||||
alias xi="doas xi"
|
||||
alias xq="xbps-query -Rs"
|
||||
alias xr="doas xbps-remove"
|
||||
alias xrd="doas xbps-remove -R" # remove all dependencies
|
||||
alias xu="doas xbps-install -Suv" # update
|
||||
@ -218,9 +222,9 @@ export PATH="$PATH:/var/lib/flatpak/exports/bin"
|
||||
export PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
|
||||
|
||||
# autologin on tty1
|
||||
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
||||
exec startx
|
||||
fi
|
||||
# if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
||||
# exec startx
|
||||
# fi
|
||||
|
||||
export $(dbus-launch)
|
||||
|
||||
|
8
.xinitrc
8
.xinitrc
@ -7,15 +7,15 @@
|
||||
|
||||
feh --bg-center "$HOME/Pictures/bg.png" &
|
||||
|
||||
#xautolock -locker slock -detectsleep -secure -time 10 &
|
||||
xautolock -locker slock -detectsleep -secure -time 10 &
|
||||
|
||||
#pipewire &
|
||||
#pipewire-pulse &
|
||||
pipewire &
|
||||
pipewire-pulse &
|
||||
dwmblocks &
|
||||
|
||||
|
||||
while true; do
|
||||
exec dbus-launch --sh-syntax --exit-with-session dwm
|
||||
dbus-launch --sh-syntax --exit-with-session dwm
|
||||
#exec dwm
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user