mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Compare commits
5 Commits
c3f7d1e086
...
0ab183db9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ab183db9c | ||
|
|
533c21c3af | ||
|
|
031938a792 | ||
|
|
fe8f0bce94 | ||
|
|
6476766a21 |
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# If there is already a running instance, user will be prompted to end it.
|
# If there is already a running instance, user will be prompted to end it.
|
||||||
|
|
||||||
getdim() { xrandr | sed -n "s/\s*\([0-9]\+x[0-9]\+\).*\*.*/\1/p" ;}
|
getdim() { xrandr | grep -oP '(?<=current ).*(?=,)' | tr -d ' ' ;}
|
||||||
|
|
||||||
updateicon() { \
|
updateicon() { \
|
||||||
echo "$1" > /tmp/recordingicon
|
echo "$1" > /tmp/recordingicon
|
||||||
|
|||||||
4
.local/bin/videosearch
Normal file
4
.local/bin/videosearch
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
video_files=$(locate -d ~/.config/.mymlocate.db -b -r '.*\.\(mp4\|mkv\|webm\|mov\|m4v\|wmv\|flv\|avi\)$')
|
||||||
|
chosen_file=$(echo "$video_files" | sed 's|.*/||; s/\.[^.]*$//' | dmenu -p "Select Video")
|
||||||
|
mpv "$(echo "$video_files" | grep "/$chosen_file.")"
|
||||||
Loading…
x
Reference in New Issue
Block a user