(Scripts)~Work on scripts a little bitt
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -xe
|
||||
|
||||
dir=/media/hdd/backup
|
||||
name="$(date +%F)-$(date +%T)-$(basename $1).tar.xz"
|
||||
|
||||
XZ_OPT='-T0 -9' tar -Jcvf $dir/$name $1
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
ls ~/.local/scripts/ | fzf --layout=reverse --height=20 | xargs $EDITOR $1
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat $HOME/.local/scripts/emoticons.txt | dmenu -F -i | sed 's/\w+//gi' | awk '{print $1}' | xclip -selection clipboard
|
||||
response=$(cat $HOME/.local/share/emoticons.txt | dmenu -F -i)
|
||||
emoticon=$(echo $response | sed 's/\w+//gi' | awk '{print $1}')
|
||||
echo $emoticon | tr -d '\n' | xclip -selection clipboard;
|
||||
|
||||
Reference in New Issue
Block a user