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
|
# 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/
|
## 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
|
## get current branch in git repo
|
||||||
function parse_git_branch() {
|
function parse_git_branch() {
|
||||||
@ -139,6 +142,7 @@ alias la="ls -alh"
|
|||||||
alias l="ls -CF"
|
alias l="ls -CF"
|
||||||
alias ld="ls -d -F */"
|
alias ld="ls -d -F */"
|
||||||
alias lda="ls -l -d -p */"
|
alias lda="ls -l -d -p */"
|
||||||
|
export HISTCONTROL=ignoredups # fuckin history identical vole
|
||||||
|
|
||||||
## network
|
## network
|
||||||
|
|
||||||
@ -158,7 +162,6 @@ alias speedtest="speedtest-cli"
|
|||||||
alias "cd.."="cd .."
|
alias "cd.."="cd .."
|
||||||
alias df='df -h' # human-readable sizes
|
alias df='df -h' # human-readable sizes
|
||||||
alias free='free -m' # show sizes in MB
|
alias free='free -m' # show sizes in MB
|
||||||
alias ls='exa'
|
|
||||||
|
|
||||||
## gpg encryption
|
## gpg encryption
|
||||||
# verify signature for isos
|
# verify signature for isos
|
||||||
@ -194,8 +197,9 @@ alias fuck='doas $(history -p \!\!)'
|
|||||||
alias sudo="doas"
|
alias sudo="doas"
|
||||||
|
|
||||||
## void xbps aliases
|
## void xbps aliases
|
||||||
alias xi="doas xbps-install"
|
#alias xi="doas xbps-install"
|
||||||
alias xq="doas xbps-query -Rs"
|
alias xi="doas xi"
|
||||||
|
alias xq="xbps-query -Rs"
|
||||||
alias xr="doas xbps-remove"
|
alias xr="doas xbps-remove"
|
||||||
alias xrd="doas xbps-remove -R" # remove all dependencies
|
alias xrd="doas xbps-remove -R" # remove all dependencies
|
||||||
alias xu="doas xbps-install -Suv" # update
|
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"
|
export PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
|
||||||
|
|
||||||
# autologin on tty1
|
# autologin on tty1
|
||||||
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
# if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
||||||
exec startx
|
# exec startx
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
export $(dbus-launch)
|
export $(dbus-launch)
|
||||||
|
|
||||||
|
8
.xinitrc
8
.xinitrc
@ -7,15 +7,15 @@
|
|||||||
|
|
||||||
feh --bg-center "$HOME/Pictures/bg.png" &
|
feh --bg-center "$HOME/Pictures/bg.png" &
|
||||||
|
|
||||||
#xautolock -locker slock -detectsleep -secure -time 10 &
|
xautolock -locker slock -detectsleep -secure -time 10 &
|
||||||
|
|
||||||
#pipewire &
|
pipewire &
|
||||||
#pipewire-pulse &
|
pipewire-pulse &
|
||||||
dwmblocks &
|
dwmblocks &
|
||||||
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
exec dbus-launch --sh-syntax --exit-with-session dwm
|
dbus-launch --sh-syntax --exit-with-session dwm
|
||||||
#exec dwm
|
#exec dwm
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user