Merge branch 'master' of i-am.nexus:nex/.dotfiles
This commit is contained in:
commit
14e19844af
8 changed files with 42 additions and 39 deletions
6
.bashrc
6
.bashrc
|
@ -23,4 +23,8 @@ if [ -d ~/.bashrc.d ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
unset rc
|
unset rc
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
|
if [ -f "$HOME/.cargo/env" ]; then
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ cscale=ewa_lanczossharp
|
||||||
hdr-contrast-recovery=0.30
|
hdr-contrast-recovery=0.30
|
||||||
allow-delayed-peak-detect=no
|
allow-delayed-peak-detect=no
|
||||||
deband=yes
|
deband=yes
|
||||||
scaler-lut-size=8
|
# scaler-lut-size=8
|
||||||
|
|
||||||
[fast]
|
[fast]
|
||||||
scale=bilinear
|
scale=bilinear
|
||||||
|
|
10
.config/mpv/scripts/paste.lua
Normal file
10
.config/mpv/scripts/paste.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
mp = require 'mp'
|
||||||
|
function paste()
|
||||||
|
local pasted = mp.command_native{
|
||||||
|
name = 'subprocess',
|
||||||
|
args = 'wl-paste',
|
||||||
|
capture_stdout = true,
|
||||||
|
}
|
||||||
|
mp.commandv('loadfile', pasted.stdout:match('^%s*(.-)%s*$'))
|
||||||
|
end
|
||||||
|
mp.add_key_binding('Ctrl+v', 'paste', paste)
|
|
@ -1,31 +0,0 @@
|
||||||
[$Version]
|
|
||||||
update_info=spectacle_clipboard.upd:clipboard-settings-change,spectacle_rememberregion.upd:spectacle-migrate-rememberregion
|
|
||||||
|
|
||||||
[Annotations]
|
|
||||||
annotationToolType=8
|
|
||||||
freehandStrokeWidth=12
|
|
||||||
rectangleStrokeColor=255,173,173
|
|
||||||
rectangleStrokeWidth=12
|
|
||||||
|
|
||||||
[General]
|
|
||||||
autoSaveImage=true
|
|
||||||
clipboardGroup=PostScreenshotCopyImage
|
|
||||||
launchAction=DoNotTakeScreenshot
|
|
||||||
onLaunchAction=DoNotTakeScreenshot
|
|
||||||
rememberSelectionRect=Never
|
|
||||||
useReleaseToCapture=true
|
|
||||||
|
|
||||||
[ImageSave]
|
|
||||||
imageFilenameTemplate=/<yyyy>/<MM>/<dd>/<hh>-<mm>-<ss>-<title>
|
|
||||||
lastImageSaveLocation=file:///home/nex/Pictures/Screenshots/Screenshot_20240324_164943.png
|
|
||||||
preferredImageFormat=WEBP
|
|
||||||
translatedScreenshotsFolder=Screenshots
|
|
||||||
|
|
||||||
[Save]
|
|
||||||
defaultSaveImageFormat=JPEG
|
|
||||||
lastSaveLocation=file:///home/nex/Pictures/screenshots/2024/03/10/22:43:26.jpeg
|
|
||||||
saveFilenameFormat=screenshots/%Y/%M/%D/%H:%m:%S-%T
|
|
||||||
|
|
||||||
[VideoSave]
|
|
||||||
translatedScreencastsFolder=Screencasts
|
|
||||||
videoFilenameTemplate=/<yyyy>/<MM>/<dd>/<hh>-<mm>-<ss>-<title>
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit e0165eaa730dd0fa321a6a6de74f092fe87630b0
|
|
26
scripts/install-omz.sh
Executable file
26
scripts/install-omz.sh
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
# Check if OMZ exists. If not, complain.
|
||||||
|
if [ ! -d "$HOME/.oh-my-zsh" ]; then
|
||||||
|
echo 'Installing Oh My Zsh (0/2)...'
|
||||||
|
OLD_PWD=$(pwd)
|
||||||
|
cd $HOME
|
||||||
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc --unattended"
|
||||||
|
cd $OLD_PWD
|
||||||
|
_S=$(awk -F: -v user="$USER" '$1 == user {print $NF}' /etc/passwd)
|
||||||
|
if [ "$_S" != "/bin/zsh" ] && [ "$_S" != "/usr/bin/zsh" ]; then
|
||||||
|
echo 'Changing shell to Zsh...'
|
||||||
|
sudo chsh -s "/bin/zsh" $USER
|
||||||
|
fi
|
||||||
|
echo 'Oh My Zsh installed.'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install syntax highlighting
|
||||||
|
echo 'Installing syntax highlighting (1/2)...'
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
|
|
||||||
|
# Install autosuggestions
|
||||||
|
echo 'Installing auto-suggestions (2/2)...'
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
|
|
||||||
|
echo 'Done.'
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/env python3
|
|
||||||
import argparse
|
|
||||||
import subprocess
|
|
||||||
|
|
Loading…
Reference in a new issue