Commit graph

226 commits

Author SHA1 Message Date
Henrik Lissner 82ee5bef6a bin/hey: add --option pure-eval no
There are cases where impure evaluate is necessary or unavoidable.
2021-01-26 22:58:47 -05:00
Henrik Lissner e703bd374d New ssh pubkey & redesign 'hey push'
Remote rebuilding requires root access, but I don't want root ssh
access (even by ssh key) to be a permanent fixture of my servers.  So
I've changed 'hey push' to copy my remote user's `authorized_keys` to
/root/.ssh/ temporarily, until the rebuild is complete. It is removed
afterwards.

This should be done non-destructively in the future, but it suits my
needs for now.
2021-01-26 22:56:50 -05:00
Henrik Lissner cf85294497 bin/mov2gif: fix comments; use cached-nix-shell 2021-01-20 00:44:35 -05:00
Henrik Lissner a7c9a87d5d
bin/hey: use $HOSTNAME (but fall back to $HOST) 2020-12-20 20:16:01 -05:00
Henrik Lissner aa350a6a5c
bin/hey: add {sh,repl} commands 2020-12-20 20:16:00 -05:00
Henrik Lissner 5866008d0c
Fix bin/{mov2gif,bspwm/presel}
Shifting the first is no longer necessary for nix-shell scripts.
2020-11-27 13:59:12 -05:00
Henrik Lissner da2eebf5d5
Fix $HOST references
$HOSTNAME won't be set. $HOST will.
2020-10-26 05:47:31 -04:00
Henrik Lissner aa57d2ccad
Fix bin/hey remote path in 'hey push' 2020-10-26 01:31:20 -04:00
Henrik Lissner cbb05939ea
Add 'hey swap' and update 'hey' usage 2020-10-25 15:52:50 -04:00
Henrik Lissner 14e2aada30
Refactor theme system, add 'hey theme' & reload handlers
Themes can now be swapped with 'hey theme NAME', or reloaded with the
reloadTheme script.
2020-10-25 15:52:50 -04:00
Henrik Lissner 74a8b35b88
Allow 'hey {ch,sh}' to take arguments 2020-10-23 18:11:03 -04:00
Henrik Lissner df1a899d6d
Add 'hey test' 2020-10-17 18:42:02 -04:00
Henrik Lissner 1a70fa3bf1
Allow 'hey update' to update individual inputs 2020-10-17 17:24:10 -04:00
Henrik Lissner 514e547a89
Update bin/hey usage 2020-10-17 17:04:01 -04:00
Henrik Lissner 87b24626ea
Add 'hey swap'
For swapping out symlinked store files so I can tweak them without
doing a complete rebuild each time.
2020-10-17 17:04:01 -04:00
Henrik Lissner 40005d0e88
Set registry, disable sandbox + autoOptimise
Sandbox and auto-optimizing make builds unnecessarily slower. 'hey gc'
will optimise the store anyway.
2020-10-17 17:04:01 -04:00
Henrik Lissner 475c3132ec
Remove references to old script name 2020-10-16 05:49:47 -04:00
Henrik Lissner b3fee313d0
Add 'hey search' command
Shortcut for nix search nixpkgs $@
2020-10-11 23:51:23 -04:00
Henrik Lissner 5f5c59a95f
Fix zsh completion for bin/hey
And remove unused commands from usage.
2020-10-11 15:22:33 -04:00
Henrik Lissner f302621346
Correct bin/hey command table
And outdated reference to script's old name.
2020-10-11 01:37:01 -04:00
Henrik Lissner a75c64d04a
Rewrite to use flakes
This puts a hard dependency on 20.09, but that's to be expected.
2020-10-11 01:31:33 -04:00
Henrik Lissner 20b8c2c1ad
Use zsh for bin/since
Why depend on bc for this, when we know zsh will always be available on
my nix systems.
2020-05-12 17:45:58 -04:00
Henrik Lissner fec39b2405
Fix bin/zzz 2020-04-22 19:55:09 -04:00
Henrik Lissner 14329586b9
s/compton/picom
20.03 uses picom instead. A compton alias exists, but I rather be
precise.
2020-04-22 19:53:25 -04:00
Henrik Lissner 06461716a5
Remove alacritty branch in bin/scratch
I'm pretty sure I'll never use alacritty again.
2020-04-12 16:09:54 -04:00
Henrik Lissner 899b76576e
Remove macos-isms from scripts
I don't use mac anymore.

Also installs bc when you use bin/since
2020-04-12 16:09:31 -04:00
Henrik Lissner 3b59c6f3f5
bin/rofi/passmenu: show notifications with notify-send
Instead of rofi
2020-03-29 01:45:17 -04:00
Henrik Lissner b7162371a3
bin/spell: back to fzf
I no longer use skim
2020-03-29 01:44:53 -04:00
Henrik Lissner 187bdbd9fa
Fix scrrec not aborting previous sessions 2020-02-29 18:48:25 -05:00
Henrik Lissner f044edddb6
Introduce new Dracula-based fluorescence theme 2020-02-09 03:03:58 -05:00
Henrik Lissner 90dec2e245
Fix screenshot/cast scripts 2020-02-08 23:26:11 -05:00
Henrik Lissner ab30b1f15f
Fix scratch terminal launcher 2020-02-02 17:22:31 -05:00
Henrik Lissner 2fc26aef2c
Move rofi scripts to bin/rofi 2020-02-01 23:16:07 -05:00
Henrik Lissner 9d137dc744
Simplify & refactor desktop & terminal modules 2020-02-01 23:16:07 -05:00
Henrik Lissner ef3b5df3cb
Use cached-nix-shell for scr{cap,rec} scripts
Also refactor them
2020-01-12 18:20:28 -05:00
Henrik Lissner 3f4eba408e
Delete bin/base
qalc already has base conversion
2020-01-12 18:20:28 -05:00
Henrik Lissner 21d1570706
Refactor bin/scrcap 2020-01-03 23:00:27 -05:00
Henrik Lissner a17194cc2f
Refactor bin/scrrec 2020-01-03 23:00:26 -05:00
Henrik Lissner 264a21e8df
Remove nix-shell shebang from bin/autoclicker 2019-12-09 02:57:10 -05:00
Henrik Lissner 6820a8a51c
Remove old bin/rofi scripts 2019-12-09 02:52:08 -05:00
Henrik Lissner d923c8c079
Move rofi/bspwm scripts into config/{rofi,bspwm} 2019-12-08 17:02:41 -05:00
Henrik Lissner eec332814a
Fix bspc/focus skipping over windows
Lets say you have two screens. A, B, C and D are your windows:

  [AB][CD]

If you have C focused and invoked bspc/focus --west, it would focus A,
instead of B.
2019-12-04 00:03:30 -05:00
Henrik Lissner eba864d724
Add rofi scripts & replace scratch terminal w/ emacs frame 2019-11-26 17:04:14 -05:00
Henrik Lissner 3a8a306ba9
Remove mpd & scripts
I've switched to spotify. I don't use mpd anymore.
2019-11-26 17:02:32 -05:00
Henrik Lissner ab931c4667
Install maim/slop instead of sandboxing scripts
The init pause when invoking scr{cap,rec} is too slow.
2019-11-26 17:00:44 -05:00
Henrik Lissner 527d294dea
Fix bin/myip
Referring old functions that don't exist anymore.
2019-09-22 12:02:33 -04:00
Henrik Lissner 77a22b8128
Add bin/scr{cap,rec} scripts 2019-08-26 13:15:12 -04:00
Henrik Lissner ed36644143
Initial commit of nixos config 2019-08-06 13:56:54 -04:00
Henrik Lissner 1f94f3ba95
Replace fzf with skim 2018-03-23 15:29:50 -04:00
Henrik Lissner d887634ff7
bin/shekel: remove iterfzf dependency 2018-03-23 15:20:55 -04:00