remove dev module and fix scripts
This commit is contained in:
parent
a93abe6f04
commit
9f0cee2627
8 changed files with 12 additions and 40 deletions
|
|
@ -8,6 +8,7 @@ with lib; let
|
|||
editor = config.programs.editor;
|
||||
pkg = editor.package;
|
||||
menu = config.programs.menu.package + config.programs.menu.dmenuCommand;
|
||||
editorCmd = "NIXOS_OZONE_WL= ${pkg}/bin/${pkg.executableName}";
|
||||
in {
|
||||
options.programs = {
|
||||
editor = {
|
||||
|
|
@ -44,8 +45,8 @@ in {
|
|||
text = ''
|
||||
code_dir=~/Documents/code
|
||||
cd $code_dir
|
||||
repo=$({ ls && echo clone-repo; } | ${menu})
|
||||
[ -e "$repo" ] && ${pkg}/bin/${pkg.executableName} $repo
|
||||
repo=$(ls | ${menu})
|
||||
[ -e "$repo" ] && ${editorCmd} $repo
|
||||
'';
|
||||
install = false;
|
||||
hotkeys = [{key = "C";}];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue