mirror of
https://github.com/tuxdotrs/tuxOS.git
synced 2025-07-08 10:46:34 +05:30
initial commit
This commit is contained in:
7
airootfs/etc/skel/.bash_profile
Normal file
7
airootfs/etc/skel/.bash_profile
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# ~/.bash_profile
|
||||
#
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
|
49
airootfs/etc/skel/.bashrc
Normal file
49
airootfs/etc/skel/.bashrc
Normal file
@ -0,0 +1,49 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
# environment variables
|
||||
export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'leafpad'; else echo 'nano'; fi)" # leafpad, nano
|
||||
|
||||
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
|
||||
|
||||
# pacman aliases (if desired, adapt for your favourite AUR helper)
|
||||
alias pac="sudo /usr/bin/pacman -S" # default action - install one or more packages
|
||||
alias pacu="sudo /usr/bin/pacman -Syu" # '[u]pdate' - upgrade all packages to their newest version
|
||||
alias pacr="sudo /usr/bin/pacman -Rns" # '[r]emove' - uninstall one or more packages
|
||||
alias pacs="/usr/bin/pacman -Ss" # '[s]earch' - search for a package using one or more keywords
|
||||
alias paci="/usr/bin/pacman -Si" # '[i]nfo' - show information about a package
|
||||
alias paclo="/usr/bin/pacman -Qdt" # '[l]ist [o]rphans' - list all packages which are orphaned
|
||||
alias pacc="sudo /usr/bin/pacman -Scc" # '[c]lean cache' - delete all not currently installed package files
|
||||
alias paclf="/usr/bin/pacman -Ql" # '[l]ist [f]iles' - list all files installed by a given package
|
||||
alias pacexpl="sudo /usr/bin/pacman -D --asexp" # 'mark as [expl]icit' - mark one or more packages as explicitly installed
|
||||
alias pacimpl="sudo /usr/bin/pacman -D --asdep" # 'mark as [impl]icit' - mark one or more packages as non explicitly installed
|
||||
|
||||
# '[r]emove [o]rphans' - recursively remove ALL orphaned packages
|
||||
alias pacro="/usr/bin/pacman -Qtdq > /dev/null && sudo /usr/bin/pacman -Rns \$(/usr/bin/pacman -Qtdq | sed -e ':a;N;$!ba;s/\n/ /g')"
|
||||
|
||||
# Custom
|
||||
alias led='leafpad ~/.bashrc'
|
||||
alias bsu='source ~/.bashrc'
|
||||
alias psync='sudo pacman -Syy'
|
||||
alias paco='sudo pacman -Sc && sudo pacman-optimize'
|
||||
alias pcf='profile-cleaner f'
|
||||
alias pcc='profile-cleaner c'
|
||||
alias pcg='profile-cleaner gc'
|
||||
alias yd='youtube-dl'
|
||||
alias lcp='sudo localepurge'
|
||||
alias lcc='sudo /usr/bin/localepurge-config'
|
||||
alias speed='speedtest-cli'
|
||||
alias q='exit'
|
||||
alias md='sudo updatedb'
|
||||
alias fig='sudo leafpad /etc/pacman.conf'
|
||||
alias yrt='yaourt -S'
|
||||
|
||||
#powerline
|
||||
powerline-daemon -q
|
||||
POWERLINE_BASH_CONTINUATION=1
|
||||
POWERLINE_BASH_SELECT=1
|
||||
. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
|
3
airootfs/etc/skel/.vimrc
Normal file
3
airootfs/etc/skel/.vimrc
Normal file
@ -0,0 +1,3 @@
|
||||
set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim/
|
||||
set laststatus=2
|
||||
set t_Co=256
|
15
airootfs/etc/skel/.xinitrc
Normal file
15
airootfs/etc/skel/.xinitrc
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
#!/bin/sh
|
||||
#
|
||||
# ~/.xinitrc
|
||||
#
|
||||
# Executed by startx (run your window manager from here)
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
exec i3
|
9
airootfs/etc/skel/.xsession
Normal file
9
airootfs/etc/skel/.xsession
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# ~/.xsession
|
||||
#
|
||||
# Executed by xdm/gdm/kdm at login
|
||||
#
|
||||
|
||||
/bin/bash --login -i ~/.xinitrc
|
Reference in New Issue
Block a user