Compare commits
7 Commits
1f556c6d24
...
b0016360ca
| Author | SHA1 | Date | |
|---|---|---|---|
| b0016360ca | |||
| 57f2b1100d | |||
| 160500ab1d | |||
| 9ad0179554 | |||
| 8cc013ad0a | |||
| b5bb2a75ca | |||
| bac7ded52a |
@@ -7,7 +7,6 @@
|
|||||||
"telemetry.enableCrashReporter": false,
|
"telemetry.enableCrashReporter": false,
|
||||||
"telemetry.enableTelemetry": false,
|
"telemetry.enableTelemetry": false,
|
||||||
"vsicons.dontShowNewVersionMessage": true,
|
"vsicons.dontShowNewVersionMessage": true,
|
||||||
"workbench.colorTheme": "Visual Studio 2019 Dark",
|
|
||||||
"terminal.integrated.cursorStyle": "line",
|
"terminal.integrated.cursorStyle": "line",
|
||||||
"explorer.confirmDelete": false,
|
"explorer.confirmDelete": false,
|
||||||
"C_Cpp.intelliSenseEngine": "Tag Parser",
|
"C_Cpp.intelliSenseEngine": "Tag Parser",
|
||||||
@@ -23,15 +22,31 @@
|
|||||||
"gitlens.currentLine.enabled": false,
|
"gitlens.currentLine.enabled": false,
|
||||||
"gitlens.hovers.currentLine.over": "line",
|
"gitlens.hovers.currentLine.over": "line",
|
||||||
"gitlens.codeLens.enabled": false,
|
"gitlens.codeLens.enabled": false,
|
||||||
"workbench.editorAssociations": [
|
"workbench.editorAssociations": {
|
||||||
{
|
"*.hex": "hexEditor.hexedit",
|
||||||
"viewType": "hexEditor.hexedit",
|
"*.bin": "hexEditor.hexedit"
|
||||||
"filenamePattern": "*.hex"
|
},
|
||||||
},
|
"go.toolsManagement.autoUpdate": true,
|
||||||
{
|
"[yaml]": {
|
||||||
"viewType": "hexEditor.hexedit",
|
"editor.insertSpaces": true,
|
||||||
"filenamePattern": "*.bin"
|
"editor.tabSize": 2,
|
||||||
|
"editor.autoIndent": "advanced"
|
||||||
|
},
|
||||||
|
"[dockercompose]": {
|
||||||
|
"editor.insertSpaces": true,
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.autoIndent": "advanced",
|
||||||
|
"editor.quickSuggestions": {
|
||||||
|
"other": true,
|
||||||
|
"comments": false,
|
||||||
|
"strings": true
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"go.toolsManagement.autoUpdate": true
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||||
}
|
"svelte.enable-ts-plugin": true,
|
||||||
|
"workbench.startupEditor": "none",
|
||||||
|
"terminal.integrated.showExitAlert": false,
|
||||||
|
"terminal.integrated.enableShellIntegration": true,
|
||||||
|
"diffEditor.ignoreTrimWhitespace": false,
|
||||||
|
"editor.inlineSuggest.enabled": true
|
||||||
|
}
|
||||||
|
|||||||
@@ -13,14 +13,13 @@ application/x-extension-xhtml=firefox.desktop
|
|||||||
application/x-extension-xht=firefox.desktop
|
application/x-extension-xht=firefox.desktop
|
||||||
image/png=org.nomacs.ImageLounge.desktop
|
image/png=org.nomacs.ImageLounge.desktop
|
||||||
image/jpeg=org.nomacs.ImageLounge.desktop
|
image/jpeg=org.nomacs.ImageLounge.desktop
|
||||||
x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop
|
|
||||||
application/x-bittorrent=deluge.desktop
|
application/x-bittorrent=deluge.desktop
|
||||||
text/plain=visual-studio-code.desktop;
|
text/plain=visual-studio-code.desktop;
|
||||||
application/x-yaml=code-oss.desktop;
|
application/x-yaml=code-oss.desktop;
|
||||||
x-scheme-handler/nxm=vortex-downloads-handler.desktop
|
|
||||||
x-scheme-handler/nxm-protocol=vortex-downloads-handler.desktop
|
|
||||||
inode/directory=thunar.desktop
|
inode/directory=thunar.desktop
|
||||||
|
|
||||||
[Added Associations]
|
|
||||||
text/x-log=code-oss.desktop;
|
text/x-log=code-oss.desktop;
|
||||||
text/plain=code-oss.desktop;nvim.desktop;
|
text/plain=code-oss.desktop;nvim.desktop;
|
||||||
|
x-scheme-handler/heroic=heroic.desktop
|
||||||
|
|
||||||
|
[Added Associations]
|
||||||
|
video/mp4=vlc.desktop;mpv.desktop;
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ Select wallpaper,$HOME/.local/share/scripts/select-bg.sh
|
|||||||
Install Package,alacritty --class "floatme" -e "$XDG_DATA_HOME/scripts/pacman-install.sh"
|
Install Package,alacritty --class "floatme" -e "$XDG_DATA_HOME/scripts/pacman-install.sh"
|
||||||
Take screenshot,$XDG_DATA_HOME/scripts/take-selected-screenshot.sh
|
Take screenshot,$XDG_DATA_HOME/scripts/take-selected-screenshot.sh
|
||||||
Share screenshot,$XDG_DATA_HOME/scripts/share-screenshot.sh
|
Share screenshot,$XDG_DATA_HOME/scripts/share-screenshot.sh
|
||||||
|
Upload last Steam screenshot,$XDG_DATA_HOME/scripts/upload-last-steam-screenshot.sh
|
||||||
Emoji,rofimoji --clipboarder xclip --typer xdotool
|
Emoji,rofimoji --clipboarder xclip --typer xdotool
|
||||||
|
|||||||
|
Can't render this file because it contains an unexpected character in line 4 and column 35.
|
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
# send ipc to polybar to update
|
|
||||||
polybar-msg hook spotifyd 1
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
[global]
|
|
||||||
|
|
||||||
username = djeeberjr
|
|
||||||
|
|
||||||
password_cmd = $HOME/.config/spotifyd/secret.sh
|
|
||||||
|
|
||||||
backend = pulseaudio
|
|
||||||
|
|
||||||
bitrate = 320
|
|
||||||
|
|
||||||
device_name = Spotifyd
|
|
||||||
|
|
||||||
on_song_change_hook = $HOME/.config/spotifyd/change.sh
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
mpv --no-input-terminal --loop-file=inf $2 --wid=$1 --panscan=1.0
|
mpv --no-input-terminal --loop-file=inf "$2" --wid="$1" --panscan=1.0
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
xwinwrap -fs -ov -ni -b -nf -- $SCRIPTPATH/animated-wallpaper-mpv.sh WID $1
|
xwinwrap -fs -ov -ni -b -nf -- "$SCRIPTPATH/animated-wallpaper-mpv.sh" WID "$1"
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ set -e
|
|||||||
DOC_DIR="/usr/share/doc/arch-wiki/html/en/"
|
DOC_DIR="/usr/share/doc/arch-wiki/html/en/"
|
||||||
|
|
||||||
cd "$DOC_DIR"
|
cd "$DOC_DIR"
|
||||||
selected=$(find -type f | cut -c3- | rev | cut -c6- | rev | tr _ ' ' | fzf -q "$1")
|
selected=$(find . -type f | cut -c3- | rev | cut -c6- | rev | tr _ ' ' | fzf -q "$1")
|
||||||
selected_file=$(echo "$selected" | tr ' ' _ | awk -v var="$DOC_DIR" '{print var $0 ".html"}')
|
selected_file=$(echo "$selected" | tr ' ' _ | awk -v var="$DOC_DIR" '{print var $0 ".html"}')
|
||||||
xdg-open "$selected_file"
|
xdg-open "$selected_file"
|
||||||
|
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# get login cred and endpoint from config script
|
|
||||||
source $XDG_CONFIG_HOME/nextcloud.config.sh
|
|
||||||
# Exported vars from config script
|
|
||||||
#NC_ENDPOINT
|
|
||||||
#NC_USERNAME
|
|
||||||
#NC_PASSWORD
|
|
||||||
|
|
||||||
# get input
|
|
||||||
|
|
||||||
if test -n "$1"; then
|
|
||||||
REMOTE_PATH=$1
|
|
||||||
elif test ! -t 0; then
|
|
||||||
read -r REMOTE_PATH
|
|
||||||
else
|
|
||||||
>&2 echo "Provide a remote file"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# make request
|
|
||||||
curl -u "$NC_USERNAME:$NC_PASSWORD" \
|
|
||||||
-s \
|
|
||||||
-H "OCS-APIRequest: true" \
|
|
||||||
-d path="$REMOTE_PATH" \
|
|
||||||
-d shareType=3 \
|
|
||||||
-X POST \
|
|
||||||
"https://$NC_ENDPOINT/ocs/v2.php/apps/files_sharing/api/v1/shares" \
|
|
||||||
| perl -n -e'/<url>(.+)<\/url>/ && print $1'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
# requires rclone to be setup
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
source $XDG_CONFIG_HOME/nextcloud.config.sh
|
|
||||||
|
|
||||||
if test -n "$1"; then
|
|
||||||
FILE_PATH=$1
|
|
||||||
elif test ! -t 0; then
|
|
||||||
read -r FILE_PATH
|
|
||||||
else
|
|
||||||
>&2 echo "Provide a file"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
FILENAME=$(basename $FILE_PATH)
|
|
||||||
|
|
||||||
rclone copy "$FILE_PATH" "$NC_RCLONE_REMOTE:/$NC_SHARE_DIR"
|
|
||||||
|
|
||||||
$SCRIPTPATH/nc-create-share.sh "$NC_SHARE_DIR/$FILENAME"
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
source $XDG_CONFIG_HOME/nextcloud.config.sh
|
|
||||||
|
|
||||||
if test -n "$1"; then
|
|
||||||
FILE_PATH=$1
|
|
||||||
elif test ! -t 0; then
|
|
||||||
read -r FILE_PATH
|
|
||||||
else
|
|
||||||
>&2 echo "Provide a file"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
$SCRIPTPATH/nc-share-file.sh "$FILE_PATH" \
|
|
||||||
| perl -n -e '/([a-zA-Z0-9]+)$/ && print $1' \
|
|
||||||
| awk -n -e '{print "https://pb.kapelle.org/"$1}'
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
|
|
||||||
if test -n "$1"; then
|
|
||||||
FILE_PATH=$1
|
|
||||||
elif test ! -t 0; then
|
|
||||||
read -r FILE_PATH
|
|
||||||
else
|
|
||||||
>&2 echo "Provide a file"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if file -i -b "$FILE_PATH" | grep "text" &> /dev/null; then
|
|
||||||
$SCRIPTPATH/nc-share-text.sh "$FILE_PATH"
|
|
||||||
elif file -i -b "$FILE_PATH" | grep "image" &> /dev/null; then
|
|
||||||
$SCRIPTPATH/nc-share-file.sh "$FILE_PATH" | awk '{print $1"/preview"}'
|
|
||||||
else
|
|
||||||
$SCRIPTPATH/nc-share-file.sh "$FILE_PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user