Commit graph

990 commits

Author SHA1 Message Date
Jonathan Hodgson
acc8707055 Delete uberw3m submodule and wrapper script 2021-11-16 10:43:03 +00:00
Jonathan Hodgson
5252713d76 Starts adding wayland support to my screenshot script 2021-11-16 10:36:28 +00:00
Jonathan Hodgson
cc94b994b5 Makes the screen layouts scripts slightly more robust
I should probably re-work all of them at some point but these changes
allow for external monitors with a resolution other than 1920x1080. When
switching to laptop only, I disable all other monitors by listing all
rather than hard coding common ones
2021-11-16 10:34:36 +00:00
Jonathan Hodgson
081c3bfeb4 Adds "simple" shell for keybinding
I have been experimenting with running a terminal on a black and white
e-ink display. A lot of things are difficult to see when converted from
colour to black and white.
2021-11-16 10:32:29 +00:00
Jonathan Hodgson
fcbd5f3637 Adds wl-clip support to password manager 2021-11-16 10:30:24 +00:00
Jonathan Hodgson
9fbdb83d70 Adds pacman hook to remove the grc default aliases file 2021-11-16 10:27:25 +00:00
Jonathan Hodgson
b00d95d514 Moves and tweaks some systemd timers / services 2021-11-16 10:26:21 +00:00
Jonathan Hodgson
00ecd6bdc3 NEWSBOAT: Adds graeme's blog 2021-11-08 20:46:01 +00:00
Jonathan Hodgson
69206d46a4 Improvements to hashcat completion
The main args completion no longer uses a bash while loop for splitting
up the arguments making it much faster.

I have also removed the use of FZF for looking up modes. This has been
moved into the overidepartialcompletion file in includes.
2021-11-04 19:38:13 +00:00
Jonathan Hodgson
02b9b6e51e Functions: adds httpie helpers for xsrf
The functions are wrappers around http and https and set the
x-xsrf-token header based on the value of the Xsrf-token cookie in the
session file.

Currently, the cookie name and header name are hard coded. I may look to
specify those in an argument at some point although for now it's
probably fine.
2021-10-26 00:10:52 +01:00
Jonathan Hodgson
e99566de7f BIN: Work on fzf-remind 2021-10-10 08:55:57 +01:00
Jonathan Hodgson
a9df9c5bd7 REM: tweaks 2021-10-10 08:43:35 +01:00
Jonathan Hodgson
9816fbb258 VIM: Adds functions for proselint and languagetool 2021-10-07 22:13:50 +01:00
Jonathan Hodgson
5b22913c67 Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles 2021-10-04 11:07:44 +01:00
Jonathan Hodgson
e2709f4d19 Updates newsboat urls 2021-10-04 11:07:29 +01:00
Jonathan Hodgson
97f30d139f Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles 2021-09-27 16:05:36 +01:00
Jonathan Hodgson
bcc791ac00 Adds sxmo_contacts overide 2021-09-27 16:05:27 +01:00
Jonathan Hodgson
98a1d5177a ZSH: adds aws key regex to currenWordCompletions 2021-09-27 13:27:40 +01:00
Jonathan Hodgson
7240fbc402 Stops disabling auto focus and adds more search prefixes
Adds some search prefixes for subreddits

Stops disabling autofocus due to it breaking regex101.com

https://github.com/tridactyl/tridactyl/issues/3919
2021-09-27 13:00:14 +01:00
Jonathan Hodgson
dbdec93713 Adds some more options to the change command function 2021-09-07 17:07:25 +01:00
Jonathan Hodgson
16b919dc3e Adds some telemetry env variables and composer to path 2021-09-07 17:06:25 +01:00
Jonathan Hodgson
5df1e386e6 SHELLS: adds a few aliases 2021-09-07 17:05:36 +01:00
Jonathan Hodgson
5f35102a96 VIM: Fixes lsp config 2021-09-07 17:00:35 +01:00
Jonathan Hodgson
9255032a61 VIM: Closes preview window after completion 2021-09-07 16:59:55 +01:00
Jonathan Hodgson
c5571a6de4 Sets default fold method to indent 2021-09-07 16:59:24 +01:00
Jonathan Hodgson
8cb2d607e6 Updates vim plugins 2021-09-07 16:58:09 +01:00
Jonathan Hodgson
197ab225d4 Updates zsh plugins 2021-09-07 16:56:43 +01:00
Jonathan Hodgson
4cce33e83b BIN: Adds screen record script 2021-09-07 16:13:41 +01:00
Jonathan Hodgson
11405338f5 Adds regex to current word completion 2021-09-07 14:00:06 +01:00
Jonathan Hodgson
761767db29 BIN: nessusComplianceFilter: various improvements 2021-09-02 11:34:44 +01:00
Jonathan Hodgson
ad9a516eb8 ZSH: make find file only give 1 result 2021-08-31 11:04:46 +01:00
Jonathan Hodgson
fb3fb4365e ZSH: adds ^n keybinding to expand current word's filename
This is useful if I want to edit a script but I'm not in my scripts
directory. It will look for a file with the name I have typed and
replace it.

for example:
    vim yt<^n>
will be replaced with
    vim /home/jonathan/.bin/yt

The script will first try `which <filename>`, searching the path. If
that fails, it will do `locate "*/filename"` which will search for the
file elsewhere
2021-08-31 10:46:58 +01:00
Jonathan Hodgson
afb31a7589 ZSH: fixes issue for creaing directory with ~ in path
The alt-m key binding is used to create a directory for the current
"word". This change makes it work if it has something like ~ in the
name.

${~var} is used to turn on GLOB_SUBST. The string resulting from the
expansion will be interpreted as a pattern anywhere that is possible,
such as filenames expanding `~`

man zshexpn
2021-08-31 10:42:56 +01:00
Jonathan Hodgson
b086532297 ZSH: Completion: Hashcat: fix broken mode selection
Hashcat has changed the way it displays modes. Update the completion
script to reflect this.
2021-08-24 15:58:23 +01:00
Jonathan Hodgson
d92ac70946 ZSH: prompt: show branch on older versions of git 2021-08-23 15:24:34 +01:00
Jonathan Hodgson
5c159344fc ZSH: checks for project in prompt 2021-08-23 15:22:05 +01:00
Jonathan Hodgson
bda6ca95e4 ZSH: checks for project in prompt 2021-08-23 15:19:48 +01:00
Jonathan Hodgson
0fdbfe45b7 ZSH: checks for commands existance before running 2021-08-23 15:16:56 +01:00
Jonathan Hodgson
99736427be BIN: Deletes open-youtube and puts functionality in yt
The yt script now accepts a --url option which will take a url as an
option like

yt --url youtube.com/watch?v=blar
or
echo youtube.com/watch?v=blar | yt --url

It will also use rofi rather than fzf if not being run from a terminal
or the --rofi flag is given

I have updated the files that used to use open-youtube to reflect this
2021-07-30 13:14:50 +01:00
Jonathan Hodgson
c619f884bd BIN: fix yt to use hq or pup again
My last commit on this file (21ca27d) checks for the existence of
nonsense files - this was originally to check the sed path works.
2021-07-30 12:25:17 +01:00
Jonathan Hodgson
2839b8e2bc VIM: Setup ripgrep and inccommand
RIPGREP

ripgrep is now my grep command and I can use [c and ]c for moving
between quickfix entries

INCCOMMAND

Setting this makes vim show the results of substitute commands as they
are types
2021-07-30 10:50:27 +01:00
Jonathan Hodgson
2bc9dd56cc BIN: yt will now use sed if hq and pup aren't installed
This is still experimental - might break in weird ways
2021-07-29 20:36:56 +01:00
Jonathan Hodgson
7775ec7539 Bin: Allows yt to use pup instead of hq 2021-07-29 20:14:29 +01:00
Jonathan Hodgson
6c09cc5c39 Bin: Adds nessus compliance filter 2021-07-12 14:06:10 +01:00
Jonathan Hodgson
4406c8407c Add rofi readme 2021-07-08 11:37:55 +01:00
Jonathan Hodgson
f01fa8673f BIN: analyse-headers
Adds some more descriptions
2021-07-05 11:42:49 +01:00
Jonathan Hodgson
70638ac508 BIN: YT: multi word search patterns
If you run yt with multiple arguments, they are concatinated as the
search string
2021-06-30 10:55:29 +01:00
Jonathan Hodgson
3934158058 Deletes file 2021-06-23 09:20:41 +01:00
Jonathan Hodgson
d208c53f28 Remind: adds some reminders 2021-05-13 13:12:44 +01:00
Jonathan Hodgson
29a76b6c3d Remind: Adds prinivox reminder 2021-05-13 13:12:27 +01:00