Commit graph

503 commits

Author SHA1 Message Date
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
mamizaxyz
0818097806
file.desktop: use lfub instead of plain lf (#1099) 2022-04-02 13:09:56 +00:00
Luke Smith
cd473390f6
close #1097 2022-03-31 15:20:43 -04:00
Luke Smith
1e5c4ee91f
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2022-03-28 21:57:49 -04:00
Luke Smith
9e03472165
emoji 14.0, remove keycodes, close #1080 2022-03-28 21:57:33 -04: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
Colby Thomas
995cff49e6 muting volume when 0%, space between icon and percentage 2021-10-17 22:57:47 -06:00
krisdoodle45
7dbc757a64
Add some conf file variables 2021-10-14 20:50:00 +02:00
krisdoodle45
40af3ab992
Use setsid 2021-10-14 20:47:33 +02:00
krisdoodle45
6faae93d15
Replicate tail functionality in awk 2021-10-14 20:46:07 +02:00
krisdoodle45
9ad912fe4e
Cut isn't needed here 2021-10-06 17:12:41 +02:00
krisdoodle45
a3e76f32b8
Make sb-doppler work for Europe and Africa 2021-10-04 20:56:57 +02:00
Luke Smith
163738e6ad
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2021-10-02 11:53:40 -04:00
Future is FOSS
162ed8889b
fix sb-internet problems with multiple wifi cards (#1008) 2021-09-27 09:48:53 -04:00
krisdoodle45
828c052184
We don't need sed here (#1006) 2021-09-24 10:35:49 -04:00
Luke Smith
60e6128754
no ping and other tweaks 2021-09-24 09:50:24 -04:00
Hekuran
15d09bac36
sysact rewrite and minor stuff (#1000)
* minor forgoten stuff

we already have shutdown in sudo loop

* why was this still here? it belongs in ~/.config/

* what the actual phucc

* implemented loginctl and fixed shebang
2021-09-23 14:54:58 -04:00
Future is FOSS
dd8da1765a
show red cross if wifi is disabled (#898)
show a red cross mark if wifi is disabled/turned off.
2021-09-23 12:15:42 -04:00
Arjun Karangiya
fb8923b841
Here program name should be given not package name (#973)
This can be known from ifinstalled code
2021-09-23 12:02:51 -04:00
Richard Halford
93a9e978da
Add partition label to dmenuumount script (#999)
If a partition doesn't have a label, it results in a double space that awk ignores. Which is why the changes include a pipe into sed.
2021-09-23 11:48:58 -04:00
Richard Halford
965a1dcad2
Add partition labelling to dmenumount
If a partition doesn't have a label, it results in a double space that awk ignores. Which is why the changes include a pipe into sed.
2021-09-03 17:15:52 +01:00
krisdoodle45
9a2dc2618e
Return dunst and zathura color schemes to normal if python-pywal is uninstalled. (#995)
* Changed paru to yay due to new LARBS changes

* Fix & improve lf's moveto, copyto and cd to bm-dir

When using any of the above functions they returned exit code 1. This was due to the cut command having tab as the delimiter, but spaces are used in the bm-dirs file. 
As an improvement comments are now automatically removed from the fzf options, because selecting those wouldn't work anyway.
The final sed command substituting "~" for "$HOME" is also removed because that doesn't seem to do anything looking at the current structure of the bm-dirs file.
The J bind needed more parsing and environment variable substitution because cd didn't work by default with values from a subshell.

* Automatically backup existing config files

* Return by pywal edited config files to normal if pywal is uninstalled.
2021-08-31 17:00:23 -04:00
Luke Smith
645058d1b5
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2021-08-25 08:03:03 -04:00
Luke Smith
1c676c7cf2
close #971 2021-08-25 08:02:39 -04:00
krisdoodle45
2eb02268b6
Changed paru to yay due to new LARBS changes (#987) 2021-08-24 15:09:07 -04:00
Hekuran
0a6982f1e1
update ext script (#986)
Arch & Artix already have the `libarchive` pkg, which contains `bsdtar`.
So lets just use it, since its superior, faster, it also has easier syntax, and it auto-detects the compression.
btw the .tar.zst was wrong anyhow, so if u wont merge this, dont forget to fix that. from the manual:
```
 -I, --use-compress-program=COMMAND
        Filter data through COMMAND.  It must accept the -d option, for decompression.  The argument can contain command line options.
.....
--zstd Filter the archive through zstd(1).
```
2021-08-19 07:56:44 -04:00
cronidea
f36f2fe539
Change sb-price to allow custom currency (#963)
e.g:
price <url> <Name of currency> <icon> <Price to show in>
price btc Bitcoin "" gbp
2021-08-18 08:35:04 -04:00
Hector Canizales
46b7d3f0c1
add /efi to exceptions in unmount script (#983) 2021-08-15 21:04:07 -04:00
krisdoodle45
418c00cbc4
Update peertubetorrent due to changed URL format (#979) 2021-08-07 15:10:36 -04:00
Jonatan Schneevoigt
e424c8ba8e
Change links to https (#978) 2021-08-04 16:17:05 -04:00
Ryan Wilson
2363526b67
Odysee to linkhandler (#977) 2021-07-31 07:36:45 -04:00
Thomas Voss
1df8bcd8fe
Minor performance improvements (#975)
* Skip head and grep and do it all in sed

* Replace echo and awk with a parameter expansion
2021-07-21 12:09:53 -04:00
viviansamuel
661c9f53db
use just awk without grep (#974) 2021-07-18 09:12:48 -04:00
Luke Smith
fe7d9440dd
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2021-06-26 14:49:27 -04:00
Luke Smith
d67a55771c
switch from yay to paru 2021-06-26 14:43:15 -04:00
Adriel Benati
542c4ab18d
Change tutorialvids links to PeerTube due to potential YT deletion (#929) 2021-06-24 20:49:54 -04:00
Hekuran
4231d6bd33
improved ifinstalled and made noisereduce use it (#930)
* made noisereduce executable

* improved `ifinstalled` script

* made `noisereduce` use `ifinstalled` script

* quoting for quiet shellcheck
2021-05-30 21:07:27 -04:00
Gavin Thornhill
f16713bcf7
Fix mail syncing on the status bar (#947) 2021-05-30 21:04:27 -04:00
Carlos de la Torre
14336d0a3c
deprecate backticks (#949) 2021-05-30 21:03:36 -04:00
7ze
1e957b7f90
Update: dmenumount -Make empty string check more consistent (#955)
* Make empty string check more consistent

Replace explicit empty string check condition with inbuilt  POSIX compliant empty string check flag, in adherence with the rest of the script.

* Update test expression
2021-05-30 21:02:36 -04:00
Luke Smith
76f7656cb2
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2021-05-30 20:55:39 -04:00
Luke Smith
9dec1225a4
fix #956 2021-05-30 20:55:28 -04:00
M. Yas. Davoodeh
3d439e1c08
Suppress sb-music errors (#953) 2021-05-27 08:06:56 -04:00
Prof-Bloodstone
fe9be01d59
dmenumount: Don't show partitions with children
This PR makes `dmenumount` script filter out all devices, which have childs. This way it won't suggest to mount your partitions which have LUKS or lvm setup on it.

If someone knows of a better way to do something, that'd be appreciated :)
2021-05-08 01:42:23 +02:00
bboudreaux28
5e53f5f467
fixed typo (#940)
changed "tranmission" to "transmission"
2021-04-24 17:40:33 -04:00
Luke Smith
2440ad83e9
doppler RADAR statusbar module for Americans 2021-04-16 14:38:41 -04:00
Luke Smith
afaca0a0b6
here string removed 2021-04-07 11:46:50 -04:00
Janik Kemnade
56046c5cda
Create and source bookmarks for/by lf (#917)
Co-authored-by: Kemmojo <kemnadej80@yahoo.de>
2021-04-06 14:52:18 -04:00
Eike Flath
8e144b60ff
Specified shutdown time (0 seconds) for openrc shutdown option (#925)
If you don't specify it, it won't work:
$ sudo -A openrc-shutdown -p
 * openrc-shutdown: No shutdown time specified
2021-03-30 12:09:33 -04:00
M.Zeinali
9c5faeeb95
Add a noise reduction script (using sox and ffmpeg) (#850)
* Create noisereduce

* Update noisereduce

* Update noisereduce
2021-03-29 21:40:40 -04:00
Roberto Polverelli Monti
b5821a2308
rssadd improvement: additionally extract from xml files, not just urls (#885)
* additionally extract from xml files

Before this, rssadd only accepted a URL as argument. Now, if given
an xml file, it will parse it and extract the proper url. This lets it
be used in conjunction with firefox for quickly adding RSS feeds (as
firefox would give it the file rather than its origin URL). This works
on a majority of RSS feeds, but fails on some that miss the proper link
tags. The original behaviour is still mantained alongside the new.

* remove surplus `exit`

* more performant grepping
2021-03-29 21:39:55 -04:00
Luke Smith
2c7a334469
neurtral default font 2021-03-29 21:36:47 -04:00
Luke Smith
e7b6d4d211
Merge branch 'patch-1' of https://github.com/Jonatan6/voidrice into Jonatan6-patch-1 2021-03-29 21:35:05 -04:00
skrrtskrrtman
12d6d5ec80
add display off option (#920)
mostly for laptops to save power
2021-03-29 21:30:01 -04:00
Stephen Szwiec
87c2950039
Handle color control sequences (#911)
* Handle color control sequences

Is: `less` outputs the raw ascii of the $chartfile, which includes escape characters to change output colors. This does not resemble a graph. 
Should be: Adding -n flag to have `less` create colored output properly.

* typo

changed to -Srf to reflect proposed change
2021-03-10 07:19:47 -05:00
Luke Smith
f47e40243f
clean up 2021-03-07 15:07:41 -05:00
Luke Smith
6bbaa96903
fix 2021-03-07 15:06:57 -05:00
narukeh
bc553f06be fix sb-forecast 2021-03-05 15:43:44 +01:00
shunlog
73b174cedf
Noobish mistake (#906) 2021-02-28 16:08:51 -05:00
MRAAGH
1692a8fe15
support .tar.zst (#903) 2021-02-23 11:43:47 -05:00
Luke Smith
219ea40fe9
multibattery functionality returned close #899 2021-02-15 10:53:41 -05:00
Jonatan6
165f25c3eb
make it possible to change the font for text slides
I set free-sans to be the default, because it seems that that is what imagemagick is uses, when you don't specify a font.
2021-02-10 17:47:30 +01:00
Luke Smith
f70f44e419
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2021-02-07 17:31:00 -05:00