Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
befc25415b
commit
c1e04f3cbf
17
.config/mpv/mpv.conf
Normal file
17
.config/mpv/mpv.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Always allow seeking, e.g. allow seeking within a local cache of HTTP stream
|
||||||
|
force-seekable=yes
|
||||||
|
# Always open a video window even with no video
|
||||||
|
force-window=yes
|
||||||
|
# Don't exit when the end of playlist is reached
|
||||||
|
keep-open=yes
|
||||||
|
# Always save the current playback position on exit
|
||||||
|
save-position-on-quit=yes
|
||||||
|
|
||||||
|
# Create 'high-quality' profile
|
||||||
|
[high-quality]
|
||||||
|
# Describe this profile
|
||||||
|
profile-desc="High quality rendering"
|
||||||
|
# Include all settings from the default 'opengl-hq' profile
|
||||||
|
profile=opengl-hq
|
||||||
|
# Disable debanding for better performance
|
||||||
|
deband=no
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
LOGS=( $(sudo find /var/tmp/portage/ -mindepth 3 -name "build.log") )
|
|
||||||
LEN=${#LOGS[@]}
|
|
||||||
|
|
||||||
for (( i=0; i<$LEN; i++ ));
|
|
||||||
do
|
|
||||||
echo "$i - ${LOGS[$i]}"
|
|
||||||
done
|
|
||||||
|
|
||||||
echo
|
|
||||||
read -p 'Select number to show logs: ' NUMBER
|
|
||||||
|
|
||||||
sudo tail -f ${LOGS[$NUMBER]}
|
|
@ -11,15 +11,15 @@ then
|
|||||||
sudo mkdir -p /mnt/gentoo/dev
|
sudo mkdir -p /mnt/gentoo/dev
|
||||||
sudo mkdir -p /mnt/gentoo/sys
|
sudo mkdir -p /mnt/gentoo/sys
|
||||||
sudo mkdir -p /mnt/gentoo/mnt/backup/ccache
|
sudo mkdir -p /mnt/gentoo/mnt/backup/ccache
|
||||||
sudo cp -r /mnt/backup/ccache/ccache.conf /mnt/gentoo/mnt/backup/ccache
|
sudo cp -r $CCACHE_DIR/ccache.conf /mnt/gentoo/mnt/backup/ccache
|
||||||
sudo rsync --progress -az -H /etc/portage/ /mnt/gentoo/gentoo/etc/portage/
|
sudo rsync -az -H /etc/portage/ /mnt/gentoo/gentoo/etc/portage/
|
||||||
sudo rsync --progress -az -H /usr/portage/ /mnt/gentoo/gentoo/usr/portage/
|
#sudo rsync -az -H /usr/portage/ /mnt/gentoo/gentoo/usr/portage/
|
||||||
sudo rsync --progress -az -H /usr/repos/ /mnt/gentoo/gentoo/usr/repos/
|
#sudo rsync -az -H /usr/repos/ /mnt/gentoo/gentoo/usr/repos/
|
||||||
sudo mount --types proc /proc /mnt/gentoo/gentoo/proc
|
sudo mount --types proc /proc /mnt/gentoo/gentoo/proc
|
||||||
sudo mount --rbind /sys /mnt/gentoo/gentoo/sys
|
sudo mount --rbind /sys /mnt/gentoo/gentoo/sys
|
||||||
sudo mount --make-rslave /mnt/gentoo/gentoo/sys
|
sudo mount --make-rslave /mnt/gentoo/gentoo/sys
|
||||||
#sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
|
sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
|
||||||
#sudo mount --make-rslave /mnt/gentoo/gentoo/dev
|
sudo mount --make-rslave /mnt/gentoo/gentoo/dev
|
||||||
sleep 5
|
sleep 5
|
||||||
sudo chroot /mnt/gentoo/gentoo /bin/bash
|
sudo chroot /mnt/gentoo/gentoo /bin/bash
|
||||||
# echo "Europe/Warsaw" > /etc/timezone
|
# echo "Europe/Warsaw" > /etc/timezone
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
choices="Left\nRight\nDuplicated\nHDMI\nMonitor\n"
|
choices="Left\nRight\nDuplicated\nHDMI\nMonitor\nTV\n"
|
||||||
|
|
||||||
chosen=$(echo -e "$choices" | dmenu -i)
|
chosen=$(echo -e "$choices" | dmenu -i)
|
||||||
|
|
||||||
@ -8,5 +8,6 @@ case "$chosen" in
|
|||||||
Duplicated) mons -d ;;
|
Duplicated) mons -d ;;
|
||||||
Left) mons -e left ;;
|
Left) mons -e left ;;
|
||||||
Right) mons -e right ;;
|
Right) mons -e right ;;
|
||||||
HDMI) mons -s
|
HDMI) mons -s ;;
|
||||||
|
TV) xrandr --output HDMI-1 --left-of eDP-1 --mode 1366x768 --rate 60
|
||||||
esac
|
esac
|
||||||
|
@ -2,6 +2,6 @@ FILE="/tmp/`date +%Y%m%d-%H.%M.%S.png`"
|
|||||||
NAME=$(date +%s | sha256sum | base64 | head -c 20 ; echo)
|
NAME=$(date +%s | sha256sum | base64 | head -c 20 ; echo)
|
||||||
|
|
||||||
gnome-screenshot -f "$FILE"
|
gnome-screenshot -f "$FILE"
|
||||||
rsync -avz --delete $FILE -e "ssh -p 2223" root@209.250.255.224:/var/www/yorune.pl/u/$NAME.png &&
|
rsync -avz --delete $FILE -e "ssh -p 22" root@209.250.255.224:/var/www/yorune.pl/u/$NAME.png &&
|
||||||
|
|
||||||
echo -e "https://yorune.pl/u/$NAME.png" | xclip -selection clipboard && notify-send "Screenshot has been updated"
|
echo -e "https://yorune.pl/u/$NAME.png" | xclip -selection clipboard && notify-send "Screenshot has been updated"
|
||||||
|
@ -18,8 +18,6 @@ set -g set-titles on # set terminal title
|
|||||||
set -g display-panes-time 800 # slightly longer pane indicators display time
|
set -g display-panes-time 800 # slightly longer pane indicators display time
|
||||||
set -g display-time 1000 # slightly longer status messages display time
|
set -g display-time 1000 # slightly longer status messages display time
|
||||||
set -g status-interval 10 # redraw status line every 10 seconds
|
set -g status-interval 10 # redraw status line every 10 seconds
|
||||||
#set -g status-style bg=blue
|
|
||||||
#set -g status-style fg=white
|
|
||||||
set -g monitor-activity on
|
set -g monitor-activity on
|
||||||
set -g visual-activity off
|
set -g visual-activity off
|
||||||
bind C-c new-session
|
bind C-c new-session
|
||||||
|
1
.zshrc
1
.zshrc
@ -92,6 +92,7 @@ alias vim="vim -p"
|
|||||||
alias denpl="trans en:pl"
|
alias denpl="trans en:pl"
|
||||||
alias dplen="trans pl:en"
|
alias dplen="trans pl:en"
|
||||||
alias notes="vim $HOME/git/notes/index.md"
|
alias notes="vim $HOME/git/notes/index.md"
|
||||||
|
alias mpv="mpv --ytdl-format='bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]'"
|
||||||
|
|
||||||
# Cleaning-up
|
# Cleaning-up
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user