mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update configs
This commit is contained in:
parent
41d10ee8f6
commit
854143b87f
3 changed files with 20 additions and 14 deletions
|
|
@ -60,22 +60,28 @@ alias cputemp='watch -n 0.01 sensors'
|
|||
alias wtfip='dig +short myip.opendns.com @resolver1.opendns.com'
|
||||
|
||||
# systemd-nspawn containers
|
||||
nspawn_root_dir="/var/lib/machines"
|
||||
|
||||
# ArchLinux
|
||||
alias alct='snr ArchLinux -b'
|
||||
alias alct="sudo systemd-nspawn -D $nspawn_root_dir/ArchLinux"
|
||||
alias alshell='machinectl shell ArchLinux'
|
||||
|
||||
# BlackArch
|
||||
alias bact='snr BlackArch -b'
|
||||
alias bact="sudo systemd-nspawn -D $nspawn_root_dir/BlackArch"
|
||||
alias bashell='machinectl shell BlackArch'
|
||||
|
||||
# Debian
|
||||
alias debct='snr Debian -b'
|
||||
alias debct="sudo systemd-nspawn -D $nspawn_root_dir/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'
|
||||
|
||||
# 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 vbstart='VBoxHeadless -s'
|
||||
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ export TERM=xterm-256color
|
|||
### Source scripts ###
|
||||
# Git prompt, see https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
|
||||
if [ -f ~/.local/bin/git-prompt.sh ]; then
|
||||
source /home/sechacklabs/.local/bin/git-prompt.sh
|
||||
source $HOME/.local/bin/git-prompt.sh
|
||||
fi
|
||||
|
||||
#if [ -f /usr/share/doc/pkgfile/command-not-found.bash ]; then
|
||||
|
|
@ -154,11 +154,5 @@ fi
|
|||
|
||||
# Autostart X at login
|
||||
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
|
||||
# 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.
|
||||
VDPAU_DRIVER=nvidia QT_QPA_PLATFORMTHEME=qt5ct XKB_DEFAULT_LAYOUT=latam startx
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -7,5 +7,11 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|||
unset f
|
||||
fi
|
||||
|
||||
xrdb -merge ~/.Xresources
|
||||
# xrandr --output HDMI1 --primary --mode 1920x1080 --dpi 120 --rate 60
|
||||
# xrandr --output eDP1 --off
|
||||
# Execute i3wm
|
||||
exec i3
|
||||
# exec i3
|
||||
XDG_SESSION_TYPE=x11
|
||||
xhost +local:
|
||||
exec startxfce4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue