Skip to content

Commit

Permalink
2024.05.21 update upgrade conf
Browse files Browse the repository at this point in the history
  • Loading branch information
creio committed May 21, 2024
1 parent 6e48134 commit 944e6f5
Show file tree
Hide file tree
Showing 476 changed files with 40,457 additions and 493 deletions.
6 changes: 3 additions & 3 deletions .Xresources
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Xft.dpi: 96
Xft.dpi: 90
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Expand All @@ -18,8 +18,8 @@ Xft.lcdfilter: lcddefault
!URxvt.font: xft:Cozette:size=10,xft:Hack Nerd Font Mono:size=9,xft:Symbola
!URxvt.boldFont: xft:Cozette:size=10,xft:Hack Nerd Font Mono:size=9,xft:Symbola

URxvt.font: xft:Hack Nerd Font Mono:size=11:antialias=false,xft:Noto Color Emoji:antialias=false,xft:Symbola:antialias=false
URxvt.boldFont: xft:Hack Nerd Font Mono:size=11:antialias=false,xft:Noto Color Emoji:antialias=false,xft:Symbola:antialias=false
URxvt.font: xft:Hack Nerd Font Mono:size=12:antialias=false,xft:Noto Color Emoji:antialias=false,xft:Symbola:antialias=false
URxvt.boldFont: xft:Hack Nerd Font Mono:size=12:antialias=false,xft:Noto Color Emoji:antialias=false,xft:Symbola:antialias=false

!URxvt.termname: xterm-256color
URxvt.iconFile: /usr/share/icons/Papirus/48x48/apps/urxvt.svg
Expand Down
33 changes: 12 additions & 21 deletions .alias_zsh
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ zzb() {

alias batc="bat -p --color=always"

# зависимость source-highlight
# deps source-highlight
hcat() {
/usr/bin/src-hilite-lesspipe.sh "$1" | less -m -N
}
ccat() {
cat "$1" | xsel -b -i
}

# share vbox В локальной машине mkdir vboxshare
# в виртуалке uid={имя пользователя} git={группа}
# share vbox,local: mkdir vboxshare
# vbox uid={имя пользователя} git={группа}
vboxshare() {
[[ ! -d ~/vboxshare ]] && mkdir -p ~/vboxshare
sudo mount -t vboxsf -o rw,uid=1000,gid=985 vboxshare vboxshare
Expand Down Expand Up @@ -146,22 +146,15 @@ scrm() {
sudo /bin/bash -c "rm -rfv $1{.*,*}"
}

alias dir="dir --color=auto"
alias vdir="vdir --color=auto"
# alias grep="grep --color=always"
#alias grep="grep --color=auto"
alias fgrep="fgrep --color=auto"
alias egrep="egrep --color=auto"
alias ls="ls --color=auto"
alias la="ls -alFh --color=auto"
alias llp="stat -c '%A %a %n' {*,.*}"
alias ll="ls -a --color=auto"
alias ll="ls -CFa --color=auto"
alias l="ls -CF --color=auto"
alias .l="dirs -v"
alias las="exa -lahg --group-directories-first --octal-permissions"
alias lss="ls -sh | sort -h"
alias duh="du -d 1 -h | sort -h"
alias jctl="journalctl -p 3 -xb"

alias mk="mkdir"
mkj() {
mkdir -p "$@" && cd "$_" || exit
}
Expand All @@ -184,16 +177,12 @@ fkill() {
}

alias /="cd /"
alias ~="cd ~"
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ......='cd ../../../../..'
alias q="exit"
alias w="cd /media/files/work"
alias wwg="cd /media/files/work/work-gulp"
alias gh="cd /media/files/github"
alias ghc="cd /media/files/github/creio"
alias ghd="cd /media/files/github/creio/dots"
alias srht="cd /media/files/srht"
Expand Down Expand Up @@ -224,7 +213,7 @@ alias gr="git remote"
alias gf="git fetch"
alias gpl="git pull"
alias gp="git push"
alias gpm="git push origin master"
alias gpb="git push origin $1"
# yarn global add github-search-repos-cli
# alias gsc="github-search-repos -i"

Expand Down Expand Up @@ -284,10 +273,11 @@ alias -s {pdf}="xreader"
# alias -s {conf,txt}="nvim"
# alias {aurman,pikaur,trizen,yaourt}="yay"

alias code='[[ $(command -v code >/dev/null 2>&1) ]] && code || vscodium'
function c() {
vscodium -a "$1" &
[[ $(command -v code >/dev/null 2>&1) ]] && code -a "$1" || vscodium -a "$1"
}
alias code='c'
alias vscodium='c'

function s() {
subl -a "$1" &
Expand Down Expand Up @@ -318,7 +308,7 @@ alias pl="pacman -Slq | fzf --preview 'pacman -Si {}' --layout=reverse"
alias pkey="sudo pacman-key --init && sudo pacman-key --populate && sudo pacman-key --refresh-keys --keyserver hkp://keys.gnupg.net && sudo pacman -Syy"
alias y="yay -S"
alias yn="yay -S --noconfirm"
alias yl="yay -S --noconfirm --needed - < ~/.pkglist.txt"
alias yl="yay -S --noconfirm - < ~/.pkglist.txt"
alias ys="yay"
alias ysn="yay --noconfirm"
alias yo="yay -S --overwrite='*'"
Expand All @@ -333,6 +323,7 @@ alias yun="yay -Syyu --noconfirm"
alias yr="yay -R"
alias yrs="yay -Rs"
alias yrsn="yay -Rsn"
alias yrdd="yay -Rdd"
alias yrn="yay -R --noconfirm"
alias ynskip='yay --noconfirm --mflags "--nocheck --skipchecksums --skippgpcheck"'
alias yngpg='yay --noconfirm --gpgflags "--keyserver keys.gnupg.net"'
Expand Down
34 changes: 19 additions & 15 deletions .aurlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,54 @@ aurutils
bashmount
bitwarden-rofi
cef-minimal-obs-bin
chaotic-keyring
chaotic-mirrorlist
chatgpt-shell-cli
cointop-bin
conky-lua-nv
creio-dots
discord-ptb
debtap
duc
exodus
figma-linux-bin
html2md
keybase-bin
kiln-git
kopia-bin
kopia-ui-bin
lib32-nvidia-390xx-utils
lib32-opencl-nvidia-390xx
libxnvctrl-390xx
mergerfs
nvidia-390xx-dkms
nvidia-390xx-settings
nvidia-390xx-utils
mods
multilogin
obfs4proxy-bin
opencl-nvidia-390xx
outline-client-appimage
outline-manager-appimage
pepper-flash
perl-linux-desktopfiles
phpstorm
phpstorm-jre
picom-tryone-git
pipe-viewer-git
pkgbuild-introspection
pkgtop-git
popcorntime-bin
pup
python-pywapi
r8168-dkms
rainbowcrack
rbenv
repoctl
rhvoice-git
ruby-build
slides
solana-bin
sublime-text
tlauncher
toilet
torrserver-bin
ttf-symbola
ttf-weather-icons
tuned
urxvt-font-size-git
urxvt-resize-font-git
vscodium-bin
vscodium-bin-marketplace
weechat-matrix-rs-git
wireguird
xclickroot-git
xdman
xwinwrap-git
zoom
zsh-fast-syntax-highlighting
7 changes: 7 additions & 0 deletions .bin/cast
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ elif [ "$1" = "-s" ]; then
-acodec libmp3lame -b:a 128k -ar 44100 -threads auto \
-vcodec libx264 -preset $QUAL -tune animation -b:v 8000k -s $OUTRES -threads 0 \
-y ~/Videos/out.mp4
elif [ "$1" = "-sn" ]; then
slop=$(slop -f "%x %y %w %h %g %i") || exit 1
read -r X Y W H G ID < <(echo $slop)
ffmpeg \
-f x11grab -s "$W"x"$H" -r 60 -i :0.0+$X,$Y \
-vcodec libx264 -preset $QUAL -tune animation -b:v 8000k -s $OUTRES -threads 0 \
-y ~/Videos/out.mp4
elif [ "$1" = "-g" ]; then
slop=$(slop -f "%x %y %w %h %g %i") || exit 1
read -r X Y W H G ID < <(echo $slop)
Expand Down
3 changes: 0 additions & 3 deletions .bin/creio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,14 @@ useradd -m -g users -G "adm,network,storage,power,wheel" -s /bin/bash "$NEW_USER
echo "$NEW_USER:$PASSWORD" | chpasswd
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
echo $HOST_NAME > /etc/hostname
ln -sf /usr/share/zoneinfo/$time_zone /etc/localtime
hwclock --systohc --utc
timedatectl set-ntp true
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
echo "ru_RU.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
echo "LANG=ru_RU.UTF-8" > /etc/locale.conf
echo "KEYMAP=ru" > /etc/vconsole.conf
echo "FONT=cyr-sun16" >> /etc/vconsole.conf
Expand Down
Loading

0 comments on commit 944e6f5

Please sign in to comment.