Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
acba975720
commit
2040211f98
@ -121,6 +121,7 @@ hi CursorLine ctermbg=235
|
|||||||
" map
|
" map
|
||||||
nnoremap ,nn :set nu! <CR>
|
nnoremap ,nn :set nu! <CR>
|
||||||
nnoremap ,NN :set nu <CR>
|
nnoremap ,NN :set nu <CR>
|
||||||
|
inoremap <silent> ,f <Esc>i--<CR>Regards,<CR>Marcin Woźniak<CR>https://yorune.pl<Esc>
|
||||||
nnoremap S :%s//g<Left><Left>
|
nnoremap S :%s//g<Left><Left>
|
||||||
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
|
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -113,3 +113,4 @@ www
|
|||||||
.config/mpv/watch_later/
|
.config/mpv/watch_later/
|
||||||
.gem/
|
.gem/
|
||||||
.config/Postman/
|
.config/Postman/
|
||||||
|
.config/GIMP/
|
||||||
|
17
.local/bin/docker-start.sh
Executable file
17
.local/bin/docker-start.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash -
|
||||||
|
#===============================================================================
|
||||||
|
#
|
||||||
|
# FILE: docker-start.sh
|
||||||
|
#
|
||||||
|
# USAGE: ./docker-start.sh
|
||||||
|
#
|
||||||
|
# OPTIONS: ---
|
||||||
|
# REQUIREMENTS: openrc system
|
||||||
|
# AUTHOR: Marcin Woźniak, y0rune@aol.com
|
||||||
|
# CREATED: 11/08/2020 11:21
|
||||||
|
# REVISION: ---
|
||||||
|
#===============================================================================
|
||||||
|
|
||||||
|
sudo rc-service docker start
|
||||||
|
sleep 10
|
||||||
|
sudo docker ps
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 3 -name "build.log") )
|
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") )
|
||||||
LEN=${#LOGS[@]}
|
LEN=${#LOGS[@]}
|
||||||
|
|
||||||
for (( i=0; i<$LEN; i++ ));
|
for (( i=0; i<$LEN; i++ ));
|
||||||
|
@ -1 +0,0 @@
|
|||||||
/opt/postman/Postman
|
|
13
.local/bin/record
Executable file
13
.local/bin/record
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
AUDIO=$(pactl list sources | awk '/Name: alsa_out/{print $2}')
|
||||||
|
|
||||||
|
ffmpeg \
|
||||||
|
-f pulse \
|
||||||
|
-i "$AUDIO" \
|
||||||
|
-f x11grab \
|
||||||
|
-framerate 60 \
|
||||||
|
-r 30 \
|
||||||
|
-s 1920x1080 \
|
||||||
|
-i :0 \
|
||||||
|
-c:v h264 -crf 0 -preset ultrafast -c:a aac \
|
||||||
|
"$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4"
|
@ -10,7 +10,7 @@ echo -e "\e[93m----------------------COMPILING------------------------------\e[0
|
|||||||
sudo cp -rv $DEFAULT_KERNEL $TMP_KERNEL
|
sudo cp -rv $DEFAULT_KERNEL $TMP_KERNEL
|
||||||
cp -r $TMP_KERNEL $BACKUP/kernel-config
|
cp -r $TMP_KERNEL $BACKUP/kernel-config
|
||||||
cp -r /etc/portage/* $BACKUP
|
cp -r /etc/portage/* $BACKUP
|
||||||
qlist -I | sort | uniq | tr '\n' ' ' > $BACKUP/list-of-programs
|
qlist -I | sort -u > $BACKUP/list-of-programs
|
||||||
}
|
}
|
||||||
|
|
||||||
function selection() {
|
function selection() {
|
||||||
|
2
.xinitrc
2
.xinitrc
@ -9,7 +9,7 @@ xrandr --auto
|
|||||||
xset b off&
|
xset b off&
|
||||||
|
|
||||||
# Lock screen
|
# Lock screen
|
||||||
xset s 300
|
xset s 600&
|
||||||
xautolock -time 15 -locker slock&
|
xautolock -time 15 -locker slock&
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
|
4
.zshrc
4
.zshrc
@ -77,10 +77,12 @@ alias gpush="git push"
|
|||||||
alias gpull="git pull"
|
alias gpull="git pull"
|
||||||
alias gstatus="git status -s"
|
alias gstatus="git status -s"
|
||||||
alias gst="git status -s"
|
alias gst="git status -s"
|
||||||
|
alias gdiff="git diff"
|
||||||
|
alias gnew="git checkout -b"
|
||||||
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
|
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
|
||||||
alias gfg="git checkout master && git fetch upstream && git pull upstream master"
|
alias gfg="git checkout master && git fetch upstream && git pull upstream master"
|
||||||
alias cal="cal -3"
|
alias cal="cal -3"
|
||||||
alias code="vscodium"
|
alias code="vscodium-bin"
|
||||||
alias vpn="sudo /root/.local/bin/protonvpn c -f"
|
alias vpn="sudo /root/.local/bin/protonvpn c -f"
|
||||||
alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH"
|
alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH"
|
||||||
alias vpnd="sudo /root/.local/bin/protonvpn d"
|
alias vpnd="sudo /root/.local/bin/protonvpn d"
|
||||||
|
Loading…
Reference in New Issue
Block a user