diff options
author | eug-vs <eug-vs@keemail.me> | 2021-07-22 09:55:24 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-07-22 09:55:24 +0300 |
commit | e29c2ae94666914aa2bae2bcf48bfc28545d47b4 (patch) | |
tree | 33a193bbeb665a7036fe1fc53e9bfcb92a6db14e /scripts | |
parent | 0fb0039433c0777027f9f9fc63d6ec77117a7f48 (diff) | |
download | dotfiles-e29c2ae94666914aa2bae2bcf48bfc28545d47b4.tar.gz |
refactor: distribute scripts across packages
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/.local/bin/linkgrabber.sh | 4 | ||||
-rwxr-xr-x | scripts/.local/bin/screenshot.sh | 11 | ||||
-rwxr-xr-x | scripts/.local/bin/tmux-kill-menu.sh | 2 | ||||
-rwxr-xr-x | scripts/.local/bin/tmuxinator-menu.sh | 5 | ||||
-rwxr-xr-x | scripts/.local/bin/wallpaper.sh | 4 |
5 files changed, 0 insertions, 26 deletions
diff --git a/scripts/.local/bin/linkgrabber.sh b/scripts/.local/bin/linkgrabber.sh deleted file mode 100755 index ab90f6c..0000000 --- a/scripts/.local/bin/linkgrabber.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -regex='(((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]' -url=$(grep -Po "$regex" | dmenu -p "Go:" -w "$WINDOWID" -l 10) || exit -brave "$url" diff --git a/scripts/.local/bin/screenshot.sh b/scripts/.local/bin/screenshot.sh deleted file mode 100755 index 66d9c5c..0000000 --- a/scripts/.local/bin/screenshot.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Screenshot via ImageMagick -# Passes all args down to import command - -SCREENSHOTS_DIR=$HOME/Pictures/Screenshots -FILENAME=$SCREENSHOTS_DIR/$(date +%F_%H-%M-%S).png - -echo "$@" - -mkdir -p $SCREENSHOTS_DIR -import $@ $FILENAME && xclip -selection clipboard -target image/png -i < $FILENAME diff --git a/scripts/.local/bin/tmux-kill-menu.sh b/scripts/.local/bin/tmux-kill-menu.sh deleted file mode 100755 index e910a4d..0000000 --- a/scripts/.local/bin/tmux-kill-menu.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -tmux ls -F "#{session_name}" | dmenu -l 10 | xargs tmux kill-session -t diff --git a/scripts/.local/bin/tmuxinator-menu.sh b/scripts/.local/bin/tmuxinator-menu.sh deleted file mode 100755 index 4dfcc14..0000000 --- a/scripts/.local/bin/tmuxinator-menu.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -PROJECTS_DIR=~/.config/tmuxinator - -ls $PROJECTS_DIR | sed 's/\.yml//g' | dmenu -l 10 | xargs tmuxinator start diff --git a/scripts/.local/bin/wallpaper.sh b/scripts/.local/bin/wallpaper.sh deleted file mode 100755 index 4d52bdb..0000000 --- a/scripts/.local/bin/wallpaper.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# Launch SXIV in wallpapers dir, C-x-w to set wallpaper - -sxiv -t ~/Pictures/Wallpapers |