summaryrefslogtreecommitdiff
path: root/scripts/.local
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2021-04-14 02:15:57 +0100
committerrafa_99 <rafa99@protonmail.com>2021-04-14 02:15:57 +0100
commit648200d664114b27980dd06b02b846d36824f798 (patch)
tree304534ded2befc7fb0f8811c8ce63d80d23c8e27 /scripts/.local
parent147cbbfda27a5ff6e70daa98b03f179422f80671 (diff)
Updated General Dots
Diffstat (limited to 'scripts/.local')
-rwxr-xr-xscripts/.local/bin/compiler2
-rwxr-xr-xscripts/.local/bin/flatpaks2
-rwxr-xr-xscripts/.local/bin/glypher2
-rwxr-xr-xscripts/.local/bin/musicselect2
-rwxr-xr-xscripts/.local/bin/powermenu2
-rwxr-xr-xscripts/.local/bin/screenrecord2
-rwxr-xr-xscripts/.local/bin/screenshot6
-rwxr-xr-xscripts/.local/bin/vifmrun4
8 files changed, 11 insertions, 11 deletions
diff --git a/scripts/.local/bin/compiler b/scripts/.local/bin/compiler
index 49c833d..759abd3 100755
--- a/scripts/.local/bin/compiler
+++ b/scripts/.local/bin/compiler
@@ -8,7 +8,7 @@ BASE=$(basename "$FILE" ."$EXTENSION")
# Filter to compile other types of files
case $EXTENSION in
md|rmd)
- FORMAT=$(printf "PDF\nHTML\nBeamer\nODT\nDOCX\nPPTX\n" | dmenu -c -l 15 -i -p "Format:")
+ FORMAT=$(printf "PDF\nHTML\nBeamer\nODT\nDOCX\nPPTX\n" | dmenu -i -p "Format:")
case "$FORMAT" in
PDF)
pandoc "$FILE" --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash \
diff --git a/scripts/.local/bin/flatpaks b/scripts/.local/bin/flatpaks
index af51339..9e07a58 100755
--- a/scripts/.local/bin/flatpaks
+++ b/scripts/.local/bin/flatpaks
@@ -1,4 +1,4 @@
#!/bin/sh
# Flatpak Run Script
-flatpak run "$(flatpak list --app --columns=application | grep -vi "Application ID" | dmenu -i -c -l 15 -p "Flatpak:")"
+flatpak run "$(flatpak list --app --columns=application | grep -vi "Application ID" | dmenu -i -l 15 -p "Flatpak:")"
diff --git a/scripts/.local/bin/glypher b/scripts/.local/bin/glypher
index 670ecc4..8d1d3b6 100755
--- a/scripts/.local/bin/glypher
+++ b/scripts/.local/bin/glypher
@@ -1,4 +1,4 @@
#!/bin/bash
#A menu that selects emojis/glyphs and copies them to the clipboard
-grep -vi "^##" "$HOME"/.config/misc/glyphsrc | dmenu -i -c -l 20 | awk '{print $1}' | xargs -I {} printf {} | xclip -selection clipboard
+grep -vi "^##" "$HOME"/.config/misc/glyphsrc | dmenu -i -l 20 | awk '{print $1}' | xargs -I {} printf {} | xclip -selection clipboard
diff --git a/scripts/.local/bin/musicselect b/scripts/.local/bin/musicselect
index fb19914..721fb97 100755
--- a/scripts/.local/bin/musicselect
+++ b/scripts/.local/bin/musicselect
@@ -7,4 +7,4 @@ then
mpd
fi
-mpc playlist | nl | sed 's:\t: :g' | dmenu -i -c -l 20 | awk '{print $1}' | xargs -I {} mpc play "{}"
+mpc playlist | nl | sed 's:\t: :g' | dmenu -i -l 20 | awk '{print $1}' | xargs -I {} mpc play "{}"
diff --git a/scripts/.local/bin/powermenu b/scripts/.local/bin/powermenu
index ec436bb..5a577a7 100755
--- a/scripts/.local/bin/powermenu
+++ b/scripts/.local/bin/powermenu
@@ -1,6 +1,6 @@
#!/bin/sh
-OPERATION=$(printf "Reboot\nShutdown\nSuspend" | dmenu -i -c -l 15 -p "Power Menu:")
+OPERATION=$(printf "Reboot\nShutdown\nSuspend" | dmenu -i -p "Power Menu:")
case $OPERATION in
Reboot)
diff --git a/scripts/.local/bin/screenrecord b/scripts/.local/bin/screenrecord
index 20af130..c176ad2 100755
--- a/scripts/.local/bin/screenrecord
+++ b/scripts/.local/bin/screenrecord
@@ -1,7 +1,7 @@
#!/bin/sh
#FFMPEG Grabs X11 Screen Puts it into a file inside Videos Folder
-INPUT=$(printf "Screen Record\nScreen Cast" | dmenu -i -c -l 15 -p "Record Type: ")
+INPUT=$(printf "Screen Record\nScreen Cast" | dmenu -i -p "Record Type: ")
case "$INPUT" in
"Screen Record")
SOURCE=$(pamixer --list-sources | grep -vi "Sources:" | awk '{print $2}' | grep output | sed s:\"::g)
diff --git a/scripts/.local/bin/screenshot b/scripts/.local/bin/screenshot
index 1856caa..59ce2d3 100755
--- a/scripts/.local/bin/screenshot
+++ b/scripts/.local/bin/screenshot
@@ -8,11 +8,11 @@ if [ "$1" = "q" ] || [ "$1" = "quick" ]; then
}
else
{
- INPUT=$(printf "Screen\nSelection" | dmenu -i -c -l 15 -p "Screenshot: ")
+ INPUT=$(printf "Screen\nSelection" | dmenu -i -p "Screenshot: ")
case "$INPUT" in
Screen)
- SAVE=$(printf "Clipboard\nPictures Folder" | dmenu -i -c -l 15 -p "Save to: ")
+ SAVE=$(printf "Clipboard\nPictures Folder" | dmenu -i -p "Save to: ")
case "$SAVE" in
"Clipboard")
maim -u -q -d 1 -m 10 | xclip -selection clipboard -t image/png
@@ -22,7 +22,7 @@ else
esac
;;
Selection)
- SAVE=$(printf "Clipboard\nPictures Folder" | dmenu -i -c -l 15 -p "Save to: ")
+ SAVE=$(printf "Clipboard\nPictures Folder" | dmenu -i -p "Save to: ")
case "$SAVE" in
"Clipboard")
maim -s -u -m 10 --color=1,1,1,0.1 | xclip -selection clipboard -t image/png
diff --git a/scripts/.local/bin/vifmrun b/scripts/.local/bin/vifmrun
index 08633ca..00f618b 100755
--- a/scripts/.local/bin/vifmrun
+++ b/scripts/.local/bin/vifmrun
@@ -8,8 +8,8 @@ if [ ! -x $(command -v ueberzug >/dev/null 2>&1) ]; then
fi
function cleanup {
- rm "$FIFO_UEBERZUG" 2>/dev/null
- pkill -P $$ 2>/dev/null
+ rm "$FIFO_UEBERZUG" 2>/dev/null
+ pkill -P $$ 2>/dev/null
}
pkill -P $$ 2>/dev/null
rm "$FIFO_UEBERZUG" 2>/dev/null