Update configs

This commit is contained in:
Eduard Tolosa 2021-01-18 13:59:42 -05:00
parent 41d10ee8f6
commit 854143b87f
3 changed files with 20 additions and 14 deletions

View file

@ -60,22 +60,28 @@ alias cputemp='watch -n 0.01 sensors'
alias wtfip='dig +short myip.opendns.com @resolver1.opendns.com' alias wtfip='dig +short myip.opendns.com @resolver1.opendns.com'
# systemd-nspawn containers # systemd-nspawn containers
nspawn_root_dir="/var/lib/machines"
# ArchLinux # ArchLinux
alias alct='snr ArchLinux -b' alias alct="sudo systemd-nspawn -D $nspawn_root_dir/ArchLinux"
alias alshell='machinectl shell ArchLinux' alias alshell='machinectl shell ArchLinux'
# BlackArch # BlackArch
alias bact='snr BlackArch -b' alias bact="sudo systemd-nspawn -D $nspawn_root_dir/BlackArch"
alias bashell='machinectl shell BlackArch' alias bashell='machinectl shell BlackArch'
# Debian # Debian
alias debct='snr Debian -b' alias debct="sudo systemd-nspawn -D $nspawn_root_dir/Debian"
alias debshell='machinectl shell Debian' alias debshell='machinectl shell Debian'
alias kact='snr KaliLinux -b' # Kali
alias kact="sudo systemd-nspawn -D $nspawn_root_dir/KaliLinux"
alias kashell='machinectl shell KaliLinux' alias kashell='machinectl shell KaliLinux'
# ParrotSec
alias pact="sudo systemd-nspawn -D $nspawn_root_dir/ParrotSec"
alias pashell='machinectl shell ParrotSec'
# Alias to start VirtualBox Machines in Headless mode # Alias to start VirtualBox Machines in Headless mode
# alias vbstart='VBoxHeadless -s' # alias vbstart='VBoxHeadless -s'

View file

@ -66,7 +66,7 @@ cyan="$(tput bold; tput setaf 6)"
nc="$(tput sgr0)" nc="$(tput sgr0)"
if [ "$color_prompt" = yes ]; then if [ "$color_prompt" = yes ]; then
PS1='\[$blue\][ \[$cyan\]\H \[$darkgrey\]\w\[$darkgrey\] \[$blue\]]\[$blue\]$(__git_ps1)\n└─ ▶\[$nc\] ' PS1='\[$blue\][ \[$cyan\]\H \[$darkgrey\]\w\[$darkgrey\] \[$blue\]]\[$blue\]$(__git_ps1)\n└─▶\[$nc\] '
else else
PS1='\u@\h:\w\$ ' PS1='\u@\h:\w\$ '
fi fi
@ -145,7 +145,7 @@ export TERM=xterm-256color
### Source scripts ### ### Source scripts ###
# Git prompt, see https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh # Git prompt, see https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
if [ -f ~/.local/bin/git-prompt.sh ]; then if [ -f ~/.local/bin/git-prompt.sh ]; then
source /home/sechacklabs/.local/bin/git-prompt.sh source $HOME/.local/bin/git-prompt.sh
fi fi
#if [ -f /usr/share/doc/pkgfile/command-not-found.bash ]; then #if [ -f /usr/share/doc/pkgfile/command-not-found.bash ]; then
@ -154,11 +154,5 @@ fi
# Autostart X at login # Autostart X at login
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
_JAVA_AWT_WM_NONREPARENTING=1 GST_VAAPI_ALL_DRIVERS=1 QT_QPA_PLATFORM=wayland-egl QT_QPA_PLATFORMTHEME=qt5ct XDG_CURRENT_DESKTOP=Unity MOZ_ENABLE_WAYLAND=1 XKB_DEFAULT_LAYOUT=latam sway VDPAU_DRIVER=nvidia QT_QPA_PLATFORMTHEME=qt5ct XKB_DEFAULT_LAYOUT=latam startx
# GST_VAAPI_ALL_DRIVERS=1 QT_QPA_PLATFORMTHEME=qt5ct XKB_DEFAULT_LAYOUT=latam startx
<<<<<<< HEAD
# enlightenment_start
=======
# _JAVA_AWT_WM_NONREPARENTING=1 GST_VAAPI_ALL_DRIVERS=1 QT_QPA_PLATFORM=wayland-egl QT_QPA_PLATFORMTHEME=qt5ct XDG_CURRENT_DESKTOP=Unity MOZ_ENABLE_WAYLAND=1 enlightenment_start
>>>>>>> 49f188a... Upload.
fi fi

View file

@ -7,5 +7,11 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f unset f
fi fi
xrdb -merge ~/.Xresources
# xrandr --output HDMI1 --primary --mode 1920x1080 --dpi 120 --rate 60
# xrandr --output eDP1 --off
# Execute i3wm # Execute i3wm
exec i3 # exec i3
XDG_SESSION_TYPE=x11
xhost +local:
exec startxfce4