Commit graph

526 commits

Author SHA1 Message Date
HelionSmoker
54c46c523b
Shortcuts: show almost-all files (#1263) 2023-02-08 20:07:47 +00:00
Luke Smith
b35102679a
actually make the script a script 2023-02-08 13:35:57 -05:00
Luke Smith
6d75bbdf8c
remaps run by remapd automatically on startup 2023-02-06 20:45:11 -05:00
Luke Smith
136456e4fa
add comment, remove remaps from displayselect 2023-02-06 18:19:09 -05:00
Luke Smith
37d26eccd8
Merge branch 'master' of https://github.com/ssnailed/voidrice into ssnailed-master 2023-02-06 18:11:39 -05:00
Luke Smith
624effaa18
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2023-02-06 17:05:32 -05:00
Luke Smith
98ea4e0080
fix #1260, more principled volume format 2023-02-06 17:05:16 -05:00
snailed
53a66c6254
Create remapd
This script will automatically run remaps when it detects a line in dmesg that contains "input:"
2023-02-06 21:15:02 +00:00
PrivateLalle
81456798ae
Fix mouse issue in firefox, add avif icon and add DK & SE to dopplar (#1259)
* Fix mouse issue in firefox, add avif icon and add DK & SE to dopplar

* Update sb-doppler

* Scandinavian countries listed

---------

Co-authored-by: Victor Risgaard <victor@risgaard.xyz>
2023-02-06 18:28:08 +00:00
Luke Smith
070c613050
silent if file absent 2023-02-02 14:15:32 -05:00
Luke Smith
c923467663
add arkenfox updater wrapper 2023-02-02 12:05:33 -05:00
Luke Smith
9c74ccb955 reduce find depth for speed. shellcheck. 2023-01-28 12:03:25 -05:00
appeasementPolitik
96f65d12de
Don't stop mounter script on ls error (#1255)
* Don't stop mounter script on ls error

If no decrypted LUKS drives are found, the script errors with `ls: cannot access '/dev/disk/by-id/dm-uuid-CRYPT-LUKS2-*': No such file or directory` and stops, this makes sure the error doesn't stop the script.

* True was on wrong line
2023-01-28 15:25:47 +00:00
Sergei Kozyrev
f5ac77e719
check if kb_choice is empty in sb-kbselect (#1243) 2023-01-28 00:06:49 +00:00
Luke Smith
2ca01a2886 usb/android/luks (un)mount scripts
to replace dmenumount and dmenuumount
2023-01-27 17:32:33 -05:00
Rokosun
1ccf88c099
Various bug fixes and improvements for sd script
* Programs that show ~/ or / instead of the actual working directory are now ignored by the script (except for zsh & lf where its correct). This will fix bugs where sd opens your home folder instead of the current working directory.
* This also removes the need for manually excluding all programs that don't show the correct cwd.
* git (and its sub-processes) will show the root of a repository instead of the actual cwd, so they're ignored too.
2023-01-20 19:44:36 +00:00
Luke Smith
c8aa0495eb record script changes 2023-01-15 08:30:21 -05:00
Luke Smith
9385a569fe Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2023-01-15 08:23:54 -05:00
Luke Smith
5c52bd6339 tweaks 2023-01-15 08:23:06 -05:00
Jameson
5c262da7c3
Fix markdown compiling (#1247) 2023-01-15 05:27:46 +00:00
Jameson
588aeb9a1e
Use wpctl to change volume (#1248) 2023-01-15 05:26:57 +00:00
Luke Smith
fa600f8ca7 fix #1233 and improve and cleanup mount scripts 2022-11-16 11:56:11 -05:00
Rokosun
0efa08107c
Improve sd script (#1235)
* Improve sd script

Now sd will also work on apps like mpv and zathura

* Fix sd script not working on firefox
2022-11-16 16:04:26 +00:00
appeasementPolitik
75bc064a2f
Add youtube shorts to linkhandler (#1226) 2022-11-06 19:29:06 +00:00
Luke Smith
eaf4c12ee2 fix #1219 2022-10-26 16:28:38 -04:00
Luke Smith
130e200da1 url update, add cont-us, non-wide char for doppler 2022-10-21 07:49:40 -04:00
Rokosun
cc7ac4619a
Make sd script work with lf file manager too (#1212)
Now sd script can open a terminal window in the same directory as the currently active lf file manager window
2022-10-15 01:25:19 +00:00
Nicholas Gorden
44d740bd44
Fix Sioux Falls (#1213)
Sioux Falls is in South Dakota, not Iowa
2022-10-10 14:27:40 +00:00
appeasementPolitik
b1377913e6
Fix forecast and moonphase (#1211) 2022-10-08 11:18:04 +00:00
Luke Smith
228cc6cfdb doi must terminate in alphanumeric char 2022-10-07 16:38:19 -04:00
Luke Smith
b8234faadb close #1207 2022-10-07 11:57:01 -04:00
Luke Smith
87ab89cf18 Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-10-02 15:25:53 -04:00
Luke Smith
28a57eb59e volume bar more efficient 2022-10-02 15:25:29 -04:00
appeasementPolitik
7d7872b602
Make sb-forecast and sb-moonphase more robust (#1198)
* Make sb-forecast more robust

* Make sb-moonphase more robust
2022-10-02 19:22:00 +00:00
appeasementPolitik
1804d4c7f0
Delete prompt (#1200) 2022-10-02 19:11:00 +00:00
M.Zeinali
be7ed1516b
Add s to OPTARGS (#1174) 2022-09-30 14:22:33 +00:00
Luke Smith
2e7fc9cfb7 fix #1196 2022-09-29 16:33:21 -04:00
appeasementPolitik
21e08299b1
Use ffmpeg for tag script (#1193)
eyeD3 got orphaned in the AUR, so I looked for an alternative. Apparently ffmpeg also supports the ability to tag audio files, so this pull request replaces all the helper applications with ffmpeg
2022-09-23 14:55:42 +00:00
appeasementPolitik
41b729acd3
Fix tag script mp3 issue (#1182)
* Fix tag script mp3 issue

When you don't manually specify $total and $date with an mp3 file the eyeD3 command tries tagging with an empty variable, which causes it to error. This fixes it by only passing the parameter to the command if the variable is set. 

This pull request also adds support for the $genre and $comment variable.

* Remove double backslash
2022-09-22 12:52:04 +00:00
appeasementPolitik
5ff7f70b64
otp: exit if pass or pass-otp are not installed (#1191) 2022-09-22 12:50:58 +00:00
appeasementPolitik
7871fd80b2
Make otp script more secure + other improvements (#1190)
Make a temporary directory in $XDG_RUNTIME_DIR instead of $PASSWORD_STORE_DIR. 

$XDG_RUNTIME_DIR defaults to /run/user/$uid/. This directory has the security advantage of only being readable and writable by the current user and being mounted in RAM, causing the screenshot to be fully wiped on shutdown and not needing shred, which doesn't work reliably on SSD's. 

Also quoted $dir, for the off chance someone has spaces in their $PASSWORD_STORE_DIR.

Removed the check for xclip and the $issuer and $name variables, as they are unused.

If you're wondering why echo is piped into dmenu, on my system dmenu hung when called without the pipe, causing the whole script to freeze.
2022-09-20 11:42:54 +00:00
ryan-c-dev
ae0ad289a1
underscore vs spaces, and naming convention (#1189)
the title then extension format with the --restrict-filenames again for underscores instead of spaces.
Works typically well as music will have Artist name first usually followed by song title so no need to format.

haven't looked into the --embed-metadata parameter, only imagine it could be useful if it saves the url suffix for youtube link (which you don't want in your filename hopefully)

for my video downloads, i just use this.
alias ydl='yt-dlp -o '%(title)s.%(ext)s' -f bv+ba/b --restrict-filenames'
alias mp3='yt-dlp -o '%(title)s.%(ext)s' -f bestaudio -x --audio-format mp3 --embed-thumbnail --restrict-filenames'

Probably bad practice to have single quotes within more single quotes but ran into issues with yt-dlp over using double quotes.  

-Ryan
2022-09-19 23:50:45 +00:00
Tan Long
3e8c05fe3d
add support for SILE (#1175) 2022-08-25 13:41:28 +00:00
Luke Smith
4f249741bc Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-08-19 14:40:42 -04:00
Luke Smith
b82b091d96 separate script for use in opout, use just % root= 2022-08-19 14:40:25 -04:00
snailed
e864d6f9f2
Texclear fix for directories with spaces (#1169)
Add double quotes to prevent splitting directory names with spaces
2022-08-16 12:25:21 +00:00
appeasementPolitik
9ff4910d4a
~/.consaved becomes ~/.config/cronsaved (#1167) 2022-08-15 15:25:16 +00:00
snailed
d92287afe0
Parse tex root for more complex latex files
Allows parsing texroot comments so that you can compile a LaTeX document from outside of the document root, as long as it contains the usual magic comment format:
% !TEX root = doc.tex
2022-08-10 11:53:24 +00:00
Luke Smith
65c7da88ed fix #1150 2022-07-21 14:33:35 -04:00
Luke Smith
8f2810ac20 samedir now sd, libxft-bgra message removed 2022-07-19 17:04:17 -04:00
Arjun Karangiya
2a34af646c
killall needs full process name to work (#1141) 2022-07-12 18:02:44 +00:00
Luke Smith
77af528edf setbg updates dwm colorscheme 2022-07-08 14:25:42 -04:00
Luke Smith
ae7fa347c2 Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-07-08 13:02:08 -04:00
Luke Smith
9cfdaf901d add font-awesome material if available 2022-07-08 13:01:53 -04:00
Rainer Wittmaack
f1e68ed533
move weatherreport to $XDG_CACHE_HOME (#1140) 2022-07-07 13:32:34 +00:00
appeasementPolitik
c20acc474f
Little optimizations (#1138) 2022-07-06 16:09:17 +00:00
i-c-u-p
f25687ad78
change if statement to case (#1137) 2022-07-05 21:40:16 +00:00
Luke Smith
f5725a6cd2 fix 2022-07-01 21:30:08 -04:00
Secondarian
395ec0d400
Regions for Germany
This lets you choose regions for Germany and get radar gifs from the national weather service instead of Sat24 which are way higher quality.
2022-07-01 23:26:58 +02:00
Luke Smith
545355d138 Merge branch 'dmenumount-filter-parents' of https://github.com/Prof-Bloodstone/voidrice into Prof-Bloodstone-dmenumount-filter-parents 2022-06-27 13:52:18 -04:00
Luke Smith
02ed243b58 Merge branch 'patch-1' of https://github.com/rsHalford/voidrice into rsHalford-patch-1 2022-06-27 13:24:00 -04:00
Luke Smith
c8a6455a67 if no arg, assume xclip contents, no -c 2022-06-27 13:09:49 -04:00
Luke Smith
b416dffafb Merge branch 'patch-4' of https://github.com/windeb204/voidrice into windeb204-patch-4 2022-06-27 12:11:17 -04:00
Rokosun
f03efe97d9
fix bug in samedir script (#1127)
samedir didn't work properly when the shell was opened inside lf using the w keybinding, now its fixed.
2022-06-24 03:35:02 +00:00
anntnzrb
bac8a110ec
Screenshot utility improvements (maimpick) (#1114)
* maimpick delay for proper screenshots

An extra delay is needed for {window, full}-screenshots to prevent the
dmenu prompt from showing; example attached.

As of this writing I'm thinking the delay may vary depending on several
factors, to name a few... dmenu patches, compositor animations, etc.

* refactor to extract commonly used commands
2022-06-15 15:04:32 +00:00
i-c-u-p
b63045a0c0
use "|" as sed delimiter if pattern has "/" (#1118)
removes the need for "/" to be escaped with a backslash
2022-06-15 15:03:25 +00:00
krisdoodle45
6d0ad93751
Give linkhandler option to read from clipboard 2022-06-06 20:58:12 +02:00
David Delarosa
d283f12ef9
Use tmpfs for speed and I/O reduction (#1122) 2022-05-25 15:13:38 +00:00
Luke Smith
f70612800b
force suspend and hibernate 2022-05-21 14:40:59 -04:00
Luke Smith
58b06ee021
booksplit faster, fix #919, fix #943, fix #954 2022-04-30 14:35:10 -04:00
Luke Smith
4a80ceda1a
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-04-28 15:30:42 -04:00
Luke Smith
feeccf15ba
sysact works with multiple wm instances 2022-04-28 15:30:28 -04:00
krisdoodle45
dcbb7dca2a
Fixed peertubetorrent (#1030)
* Fixed peertubetorrent

Because of https://github.com/Chocobozzz/PeerTube/pull/3746, the torrent URL is now different from the normal video url. This means the peertube API is needed to get the new torrent link.

* No more soyregex (and use built-in curl silent option)

* Add 360p quality in the description

* Simpler regex

* Parenthesize variables
2022-04-28 13:20:59 +00:00
i-c-u-p
2517ed8672
remove xmodmap from remaps script (#1109)
Uses the "altwin:menu" option from setxkbmap to map the menu key to right super instead of xmodmap, which is deprecated. setxkbmap's options can be viewed with "man xkeyboard-config". Also tried to make the comment for the xset rate change more helpful.
2022-04-27 00:31:03 +00:00
i-c-u-p
c38de1d262
fix "extention" typo (#1103)
replaces all appearances of "extention" with "extension"
2022-04-10 12:39:05 +00:00
krisdoodle45
953d85619a
Replace youtube-dl with yt-dlp system-wide (#1019)
* Replace youtube-dl with yt-dlp in qndl

* Replace youtube-dl with yt-dlp in dmenuhandler

* Replace youtube-dl with yt-dlp in newsboat config

* Replace youtube-dl with yt-dlp in aliasrc

Co-authored-by: Luke Smith <luke@lukesmith.xyz>
2022-03-29 01:28:41 +00:00
Arjun Karangiya
4ba50116d9
Shortcuts in vim command line from bm-dirs/files (#1073)
This will allow using the mappings in the vim command line.
    Here the leader is ";"

    So here `:e ;cfz` typed fast will expand into
            `:e /home/user/.config/zsh/.zshrc`.

    This is more helpful with :sp, :vs, :cd or anywhere where a file or
    a directory is expected in the vim command line.
2022-03-29 01:24:57 +00:00
h3xo
06b7e28be3
remove typo in bgloc (#1096)
path should be "$HOME/.local/share" (there's an extra slash)
2022-03-29 01:13:28 +00:00
pakudev
af386acead
replace ranger with lf in tutorialvids script (#1085) 2022-03-12 19:46:17 +00:00
Luke Smith
42987c2d64
lf cleanup 2022-03-11 18:32:19 -05:00
Luke Smith
148f1432e6
lf tweaks included ueberzug images 2022-03-06 13:19:51 -05:00
Nacho-Dz
d9fb1ad732
convert both $rx and $tx in one call to numfmt (#1082)
see numfmt(1) for details
2022-03-02 16:41:22 +00:00
krisdoodle45
c2f25befa9
Make sb-doppler POSIX compliant 2022-02-17 18:14:42 +01:00
krisdoodle45
c16d6fd3b0
Merge branch 'LukeSmithxyz:master' into patch-4 2022-02-17 18:13:14 +01:00
Ginner
0d01624c59
Fix case-matching (#1066)
Case sensitivity prevents dmenuhandler from copying the URL to the clipboard.
2022-01-25 14:23:59 +00:00
Luke Smith
87fe81bb9e
a 2022-01-22 02:00:46 -05:00
Luke Smith
d76f894f84
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-01-21 19:28:41 -05:00
Luke Smith
c08c3a2fb0
fix #936 2022-01-21 19:27:56 -05:00
krisdoodle45
ebcc52f1fb
otp script: Printf is not needed here (#1062) 2022-01-21 22:17:21 +00:00
Luke Smith
58e1952ce2
otp script 2021-12-21 13:03:43 -05:00
Luke Smith
5b31e04513
pulseaudio replaced with pipewire 2021-11-14 14:39:04 -05:00
Luke Smith
2ddfa7ab0f
better fix 2021-10-23 10:27:45 -04:00
Luke Smith
0cc1758b02
ifinstalled better, close #1047 2021-10-22 16:50:26 -04:00
Luke Smith
18dad565fa
inconsequential efficiency 2021-10-20 10:50:13 -04:00
Luke Smith
cb7879cd7e
unbreak samedir 2021-10-20 10:32:46 -04:00
Luke Smith
7928c52e90
Merge branch 'patch-6' of git://github.com/krisdoodle45/voidrice into krisdoodle45-patch-6 2021-10-20 10:32:03 -04:00
krisdoodle45
714aa92a95
ext: Remove in favor of atool (#1013)
* ext: Give the ability to extract multiple files and wildcards

* Variable renaming

* Make user get prompted if extracted file overwrites another file

* Deleted ext

We have atool

* Replace ext with aunpack
2021-10-20 10:27:40 -04:00
Ethan Marshall
7c6b8a85b6
Small newsup fix (#1023)
Only update titles which *exactly* match the title "newsboat"
2021-10-20 10:24:29 -04:00
krisdoodle45
56caae7b03
Revert changes to displayselect (already best performance) 2021-10-19 16:53:06 +02:00
Luke Smith
96c782f512
l 2021-10-18 08:50:15 -04:00